Posts by Rodrigo • 1 point
1 post
-
0
votes0
answers20
viewsQ: Coordinate counting in MATLAB
Hello. I have an 8x2 matrix: M = [1 2; 5 8; 3 1; 6 6; 7 1; 1 2; 3 1; 7 1]; I would like to count how many times each line (x,y) repeats. The result should be, for example, like this: Trying:…