Borrar filtros
Borrar filtros

How to remove certain elements from a struct array

15 visualizaciones (últimos 30 días)
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?

Respuesta aceptada

Walter Roberson
Walter Roberson el 17 de Mayo de 2020
mask = [Configuracion.SNR] >= 150;
Configuracion = Configuracion(mask);

Más respuestas (0)

Categorías

Más información sobre Structures en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by