I got a 10×3 array with 1s and 0s placed randomly.
V = round(rand(10,3))
I one case I get
V = 0 0 0 0 1 1 1 1 1 0 1 1 0 0 0 1 0 1 0 0 0 0 1 1 0 0 0 0 0 1
I want to make MatLab tell me which row are identical. So in this case I want to find out that V(1,:), V(5,:) and V(9,:) are equal, and that V(2,:), V(4,:) and V(8,:) are equal etc., without have to look at the array myself.
Best Answer