find the index where an element is in a matrix matlab
Answers
Answered by
1
Step-by-step explanation:
k = find( X ) returns a vector containing the linear indices of each nonzero element in array X .
If X is a vector, then find returns a vector with the same orientation as X .
If X is a multidimensional array, then find returns a column vector of the linear indices of the result.
Similar questions