How to remove repeat entities in a matlab array
조회 수: 2 (최근 30일)
이전 댓글 표시
I have an array with 17 values within it, I have only one number than appears twice, i want the new identity to have 16 values in it, only including this perticular repeat value only once in the new identity
답변 (1개)
James Tursa
2020년 11월 10일
편집: James Tursa
2020년 11월 10일
unique(your_variable)
or
unique(your_variable,'stable')
댓글 수: 9
참고 항목
카테고리
Help Center 및 File Exchange에서 Particle & Nuclear Physics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!