필터 지우기
필터 지우기

Dear all, I want to remove duplicated array in a matrix. let say we have A=[1 2;2 3;2 3;4 5;6 7] and the answer is B=[1 2;2 3;4 5;6 7].how can I do it? I have no idea.thanks

조회 수: 1 (최근 30일)
Dear all, I want to remove duplicated array in a matrix. let say we have A=[1 2;2 3;2 3;4 5;6 7] and the answer is B=[1 2;2 3;4 5;6 7].how can I do it? I have no idea.thanks

답변 (1개)

Stephen23
Stephen23 2016년 8월 10일
>> unique(A,'rows')
ans =
1 2
2 3
4 5
6 7

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by