Code covered by the BSD License  

Highlights from
FilterStruct

5.0

5.0 | 1 rating Rate this file 6 Downloads (last 30 days) File Size: 1.61 KB File ID: #22798

FilterStruct

by

 

Filters the fields of a structure array using a logical array.

| Watch this File

File Information
Description

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

MATLAB release MATLAB 7.6 (R2008a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
05 Mar 2009 Gary

Great timesaver!

Contact us