Problem 645. Getting the indices from a vector
Solution Stats
Problem Comments
-
5 Comments
Show
2 older comments
goc3
on 18 Nov 2016
I added six more test cases.
Nguyen Huu Hung
on 14 Sep 2019
hay
Kerem Kutan
on 12 Jun 2020
kinda easy
Miriam Sánchez Fernández
on 7 Nov 2020
It's easy with function "find"
Benjamin Hoehne
on 1 Dec 2020
use "find"
Solution Comments
-
1 Comment
Josh Klueber
on 2 Nov 2021
good problem
-
1 Comment
Kossel E. LEGUEZIM
on 25 Jun 2021
Nice problem!
-
1 Comment
john perkins
on 4 May 2021
very cool problem
-
1 Comment
TIMOTHY PIERGIOVANNI
on 21 Apr 2021
find() function
-
1 Comment
Qingyin Zhang
on 29 Nov 2020
out=find(vec>thresh);
-
1 Comment
Isabella Stellitano
on 4 Nov 2021
good problem
-
2 Comments
Ahsan Naseer
on 15 Sep 2018
my solution is incorrect.how would i get the exact solution?
Tavish Pattanayak
on 8 May 2020
You can ask in the matlab center
Problem Recent Solvers6877
Suggested Problems
-
Find the longest sequence of 1's in a binary sequence.
4985 Solvers
-
Project Euler: Problem 10, Sum of Primes
1304 Solvers
-
385 Solvers
-
Duplicate each element of a vector.
573 Solvers
-
Remove element(s) from cell array
992 Solvers
More from this Author51
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!