index_sizematches_rows
Version 1.0.0.0 (2,04 ko) par
Jamie Rodgers
Useful for : EASY LOGICAL INDEXING INTO COMPLEX STRUCTURED ARRAYS
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.
Citation pour cette source
Jamie Rodgers (2025). index_sizematches_rows (https://www.mathworks.com/matlabcentral/fileexchange/28459-index_sizematches_rows), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2009b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Language Fundamentals > Matrices and Arrays >
- MATLAB > Language Fundamentals > Matrices and Arrays > Creating and Concatenating Matrices >
En savoir plus sur Matrices and Arrays dans Help Center et MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |