Is there a more efficient way of obtaining the row and column indices of the nonzero elements of a matrix than using the ind2sub and find functions? [I,J] = ind2sub(size(A),find(A));
MATLAB: Obtain row and column indices of non-zero matrix elements
findind2sub
Best Answer