How to returns combined data from a single vector with no repetitions?
조회 수: 1 (최근 30일)
이전 댓글 표시
The only way is union(A,A)? There is no function with single argument?
댓글 수: 0
채택된 답변
Mischa Kim
2015년 3월 30일
Not quite sure what you are trying to do. Do you mean:
A = [1 2 2 3 3 3];
B = unique(A)
B =
1 2 3
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!