필터 지우기
필터 지우기

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

How to remove duplicates in a specific manner?

조회 수: 1 (최근 30일)
armin farshbaf
armin farshbaf 2016년 11월 14일
마감: MATLAB Answer Bot 2021년 8월 20일
How can i convert A=[1 1 2 2 3 3;1 1 2 2 3 3;1 1 2 2 3 3;1 1 2 2 3 3;7 7 8 8 9 9;7 7 8 8 9 9] to B=[1 2 3;1 2 3;7 8 9]? Thanks

답변 (1개)

Thorsten
Thorsten 2016년 11월 14일
편집: Thorsten 2016년 11월 14일
B = unique(unique(A, 'rows')', 'rows')'
  댓글 수: 1
armin farshbaf
armin farshbaf 2016년 11월 14일
Thanks I appreciate the help

이 질문은 마감되었습니다.

Community Treasure Hunt

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

Start Hunting!

Translated by