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

조회 수: 2 (최근 30일)
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!

채택된 답변

Ezz El-din Abdullah
Ezz El-din Abdullah 2018년 6월 27일
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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Multidimensional Arrays에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by