How to remove certain elements from a struct array
18 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Jorge Zorrilla Prieto
il 17 Mag 2020
Commentato: Jorge Zorrilla Prieto
il 17 Mag 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 Commenti
Risposta accettata
Walter Roberson
il 17 Mag 2020
mask = [Configuracion.SNR] >= 150;
Configuracion = Configuracion(mask);
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!