how find idx string deleted
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
piero
am 29 Nov. 2023
Beantwortet: Fangjun Jiang
am 29 Nov. 2023
a={'aa','bb','cc','aa'}
unique(a,'stable')
%i want to find idx string deleted..( idx=4)
0 Kommentare
Akzeptierte Antwort
Fangjun Jiang
am 29 Nov. 2023
a={'aa','bb','cc','aa'};
[b,ida,idb]=unique(a,'stable')
setdiff(1:numel(a),ida)
0 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu String Parsing finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!