Problem 856. Getting the indices from a matrix
Inspired by Problem 645.
Getting the indices from a matrix.
Given a matrix A (or a vector), return the indices (always in row) where A is greater than scalar, thresh. More instructive without FIND instruction.
Solution Stats
Problem Comments
Solution Comments
Show commentsProblem Recent Solvers661
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15632 Solvers
-
3342 Solvers
-
Sum all integers from 1 to 2^n
16073 Solvers
-
11937 Solvers
-
356 Solvers
More from this Author43
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!