find(X) returns a row vector containing the indices of elements of X which are non-zero. The indices are based on the current index origin, and if X is a matrix, apply to X(:)