Hello fellows,
I have to find the indexes of zero AND nonzero elements in a matrix. I tried to use the function find() but the coordinates of zero elements does not show up. I also used ind2sub() but it can just be used correctly for linear elements.
Does anyone knows a solution?
Thanks!
I have to find the indexes of zero AND nonzero elements in a matrix. I tried to use the function find() but the coordinates of zero elements does not show up. I also used ind2sub() but it can just be used correctly for linear elements.
Does anyone knows a solution?
Thanks!