How to remove certain elements from a struct array

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 日

1 投票

mask = [Configuracion.SNR] >= 150;
Configuracion = Configuracion(mask);

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeStructures についてさらに検索

製品

リリース

R2019b

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by