Clear Filters
Clear Filters

How to remove certain elements from a struct array

15 views (last 30 days)
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?

Accepted Answer

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

More Answers (0)

Categories

Find more on Structures in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!