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일
mask = [Configuracion.SNR] >= 150;
Configuracion = Configuracion(mask);

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Structures에 대해 자세히 알아보기

제품

릴리스

R2019b

태그

Community Treasure Hunt

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

Start Hunting!

Translated by