how find idx string deleted
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
piero
le 29 Nov 2023
Réponse apportée : Fangjun Jiang
le 29 Nov 2023
a={'aa','bb','cc','aa'}
unique(a,'stable')
%i want to find idx string deleted..( idx=4)
0 commentaires
Réponse acceptée
Fangjun Jiang
le 29 Nov 2023
a={'aa','bb','cc','aa'};
[b,ida,idb]=unique(a,'stable')
setdiff(1:numel(a),ida)
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Characters and Strings dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!