how find idx string deleted
1 回表示 (過去 30 日間)
古いコメントを表示
a={'aa','bb','cc','aa'}
unique(a,'stable')
%i want to find idx string deleted..( idx=4)
0 件のコメント
採用された回答
Fangjun Jiang
2023 年 11 月 29 日
a={'aa','bb','cc','aa'};
[b,ida,idb]=unique(a,'stable')
setdiff(1:numel(a),ida)
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Characters and Strings についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!