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
-
Project Euler: Problem 3, Largest prime factor
1787 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2536 Solvers
-
228 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
884 Solvers
-
Output any real number that is neither positive nor negative
409 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!