FilterStruct
Versión 1.0.0.0 (1,61 KB) por
Robert M. Flight
Filters the fields of a structure array using a logical array.
Filterstruct allows one to use a logical matrix to filter the various fields of a structure identically. If filterlogic has one column and the fields contain more than one column the rows of each field will be filtered. If filterlogic has multiple columns, the fields that are filtered must be identical in size to filterlogic.
Will only filter those fields with the same number of rows as filterlogic (if only one column) or that are the same size as filterlogic (if multiple columns).
Citar como
Robert M. Flight (2026). FilterStruct (https://es.mathworks.com/matlabcentral/fileexchange/22798-filterstruct), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2008a
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Más información sobre Structures en Help Center y MATLAB Answers.
Etiquetas
Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
| Versión | Publicado | Notas de la versión | |
|---|---|---|---|
| 1.0.0.0 |
