MATLAB find function
Finds indices of elements.
find(x)
x |
expression to evaluate |
If expression is not logical, finds indices of nonzero elements of
argument x
.
Returns indices of corresponding elements matching the expression x
.
P. Roebuck proebuck@mdanderson.org
find(-3:3 >= 0) find(c(0, 1, 0, 2, 3))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.