compare arrays
2 ビュー (過去 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!