Getting the indices from a matrice. Inspired by Problem 645. Getting the indices from a vector by the great Doug Hull. 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.
why it is wrong
The last transpose is wrong.
8399 Solvers
14973 Solvers
142 Solvers
Get the elements of diagonal and antidiagonal for any m-by-n matrix
196 Solvers
357 Solvers