How can I make sure that all rows of a matrix are unique?

2 views (last 30 days)
I have X which is a matrix that I want to delete all rows that are similar to make sure that all rows are unique.
Is there a way to do that? Thanks!

Accepted Answer

Ezz El-din Abdullah
Ezz El-din Abdullah on 27 Jun 2018
Sorry, I didn't notice it's answered before. I found this helpful:
https://www.mathworks.com/matlabcentral/answers/299722-remove-duplicate-rows-from-a-matrix

More Answers (0)

Categories

Find more on Multidimensional Arrays in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!