How to eliminate the elements in an array from another array when there are repeated elements in both arrays?
1 ビュー (過去 30 日間)
表示 古いコメント
For example,
A = [ 1,2,2,2,3,4];
B = [1,2,2,3];
What I expect is A eliminate elements from B ( 2 with exact the same number of repeats) to get C = [2,4];
Thanks!
0 件のコメント
採用された回答
その他の回答 (0 件)
参考
カテゴリ
Find more on Multidimensional Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!