Filter löschen
Filter löschen

How to remove certain elements from a struct array

18 Ansichten (letzte 30 Tage)
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?

Akzeptierte Antwort

Walter Roberson
Walter Roberson am 17 Mai 2020
mask = [Configuracion.SNR] >= 150;
Configuracion = Configuracion(mask);

Weitere Antworten (0)

Kategorien

Mehr zu Structures finden Sie in Help Center und File Exchange

Produkte


Version

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by