Delete a row in a structure that contains a certain word
3 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
AA
le 3 Août 2019
Réponse apportée : Walter Roberson
le 3 Août 2019
Hi,
I have a 1×5897 struct array with fields. How do I delete the entire rows that contain the letters 'AA'.
3 commentaires
Réponse acceptée
Walter Roberson
le 3 Août 2019
mask = ismember({Random.Letters}, 'AA') ;
Random(mask) = [] ;
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Structures 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!