필터 지우기
필터 지우기

How to remove certain elements from a struct array

조회 수: 15 (최근 30일)
Jorge Zorrilla Prieto
Jorge Zorrilla Prieto 2020년 5월 17일
댓글: Jorge Zorrilla Prieto 2020년 5월 17일
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