How to remove certain elements from a struct array
15 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Jorge Zorrilla Prieto
am 17 Mai 2020
Kommentiert: Jorge Zorrilla Prieto
am 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?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/293707/image.png)
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 17 Mai 2020
mask = [Configuracion.SNR] >= 150;
Configuracion = Configuracion(mask);
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Structures finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!