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 comments
Loading...
Problem Recent Solvers733
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15815 Solvers
-
Swap the first and last columns
23162 Solvers
-
2376 Solvers
-
Find the largest value in the 3D matrix
1688 Solvers
-
Create a square matrix of multiples
502 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!