FilterStruct

Filters the fields of a structure array using a logical array.
767 Downloads
Aktualisiert 27. Jan 2009

Lizenz anzeigen

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).

Zitieren als

Robert M. Flight (2024). FilterStruct (https://www.mathworks.com/matlabcentral/fileexchange/22798-filterstruct), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Structures finden Sie in Help Center und MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0