![]() ![]() Indices = find(X, k, 'last') returns at most the last k indices corresponding to the nonzero entries of X. ![]() k must be a positive integer, but it can be of any numeric data type. Indices = find(X, k) or indices = find(X, k, 'first') returns at most the first k indices corresponding to the nonzero entries of X. In general, find(X) regards X as X(:), which is the long column vector formed by concatenating the columns of X. If none are found, find returns an empty, 0-by-1 matrix. Returns the linear indices corresponding to the nonzero entries of the array X. Find (MATLAB Functions) MATLAB Function Referenceįind indices and values of nonzero elements
0 Comments
Leave a Reply. |