How to remove certain elements from a struct array
15 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Jorge Zorrilla Prieto
le 17 Mai 2020
Commenté : Jorge Zorrilla Prieto
le 17 Mai 2020
I have the following struct array:
Now, I want to remove the rows whose "SNR" field value is less than 150 having only the struct array with the rows that are over that value. Is that possible?
0 commentaires
Réponse acceptée
Walter Roberson
le 17 Mai 2020
mask = [Configuracion.SNR] >= 150;
Configuracion = Configuracion(mask);
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!