Delete a row in a structure that contains a certain word
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
Hi,
I have a 1×5897 struct array with fields. How do I delete the entire rows that contain the letters 'AA'.
3 Commenti
Risposta accettata
Walter Roberson
il 3 Ago 2019
mask = ismember({Random.Letters}, 'AA') ;
Random(mask) = [] ;
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Structures in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!