How to remove certain elements from a struct array

15 次查看(过去 30 天)
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?

采纳的回答

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

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Structures 的更多信息

标签

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by