Azzera filtri
Azzera filtri

How to remove certain elements from a struct array

18 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Structures in Help Center e File Exchange

Prodotti


Release

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by