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 Solvers730
Suggested Problems
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15805 Solvers
-
316 Solvers
-
Compute a dot product of two vectors x and y
1053 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
690 Solvers
-
Unique values without using UNIQUE function
451 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!