remove cell values of a column vector not contained in another column vector
2 ビュー (過去 30 日間)
古いコメントを表示
I have two column vectors:
A=[1; 2; 3; 4; 5; 6]
B=[1; 3; 4; 6]
I would like to obtain a column vector that cointain only the cell values of A not contained also in B and, therefore:
C=[2; 5]
I don't want to use loop function beacause I've to analyse huge vectors.
0 件のコメント
参考
カテゴリ
Help Center および File Exchange で Cell Arrays についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!