How can I find the indices of a vector?
38 views (last 30 days)
Show older comments
Commented: Francesco on 25 Feb 2014
If I have a row vector,what command allows me to find the indexes that exceed a certain value that I want as a threshold. For example:
I would like in output the indices of the value grater or equal than 0.123, for example.
Mischa Kim on 25 Feb 2014
Edited: Mischa Kim on 25 Feb 2014
ind = find(A >= 0.123)
More Answers (1)
Thomas on 25 Feb 2014
Edited: Thomas on 25 Feb 2014
Find more on Matrices and Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!