find(matrix) find(matrix, n)
Finds all the non zero elements of a matrix
find([0,1,0,1]) = [2;4] find([0,1,0,1],1) = [2]