I have a matrix of doubles with 4892 rows and 4 columns.
Say I have N rows with the same values in the 3rd and 4th columns (but not necessarily in the 1st and 2nd columns), I would like to leave only one row out of the group.
An example:
1738 1738 8611 8611
1739 1738 8611 8611
1739 1739 8611 8611
I would like to leave only one row out of this bunch (doesn't matter which one).
How do I do this?
Thanks!