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
-
Which values occur exactly three times?
5238 Solvers
-
middleAsColumn: Return all but first and last element as a column vector
647 Solvers
-
Remove the two elements next to NaN value
703 Solvers
-
Generate a random matrix A of (1,-1)
402 Solvers
-
8298 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!