Any possible to remove the duplicate entries
S=[2 3 4 5 4 4 4;2 3 4 2 3 4 5;3 4 4 5 5 2 3];
I want the output will be
A=[2 3 4 5]

 채택된 답변

Wayne King
Wayne King 2013년 10월 24일

0 개 추천

S=[2 3 4 5 4 4 4;2 3 4 2 3 4 5;3 4 4 5 5 2 3];
S1 = unique(S);

추가 답변 (1개)

카테고리

도움말 센터File Exchange에서 Numeric Types에 대해 자세히 알아보기

태그

질문:

2013년 10월 24일

답변:

2013년 10월 24일

Community Treasure Hunt

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

Start Hunting!

Translated by