compare arrays
조회 수: 15 (최근 30일)
이전 댓글 표시
I have two arrays. I want to compare array A with B to see which element is in A and not in B and vice versa. Please help
댓글 수: 0
답변 (2개)
bym
2011년 4월 10일
unique(A,B)
댓글 수: 1
Walter Roberson
2011년 4월 10일
That would only work if B just happened to be the character vector 'rows' ...
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!