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 Solvers719
Suggested Problems
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
513 Solvers
-
Back to basics - mean of corner elements of a matrix
461 Solvers
-
Number of Even Elements in Fibonacci Sequence
1637 Solvers
-
Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock. Tick. Tock.
955 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!