index_sizematches_r​ows

Useful for : EASY LOGICAL INDEXING INTO COMPLEX STRUCTURED ARRAYS
252 Downloads
Updated 12 Aug 2010

View License

Based on checking the number of rows in every field and subfield with a complex structured array and indexing
only those elements that size- match the number of rows in the index array.
SIZE MATCH/ INDEX OPERATION APPLIES TO ALL SUB-FIELDS WITHIN THE STRUCTURED ARRAY INCLUDING ANY SUB-STRUCTURE FIELDS.
Non size matched fields are preserved unaltered.

Cite As

Jamie Rodgers (2024). index_sizematches_rows (https://www.mathworks.com/matlabcentral/fileexchange/28459-index_sizematches_rows), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0