vectorindex
Version 1.0.0.0 (1,44 ko) par
Chad Lieberman
Evaluate n-dimensional arrays at vectors of indices.
VECTORINDEX evaluates an n-dimensional array at the indices specified in vector form. For example, if v=[1;3;1] and A is a 3-dimensional array, then vectorindex(A,v) is the same as A(1,3,1). The code utilizes linear indexing, but it is written for speed; all for loops are avoided. This is intended particularly for use with high-dimensional tensors, but will also work on vectors and matrices.
Citation pour cette source
Chad Lieberman (2026). vectorindex (https://fr.mathworks.com/matlabcentral/fileexchange/38176-vectorindex), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2011a
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
En savoir plus sur Operators and Elementary Operations dans Help Center et MATLAB Answers
Tags
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 |
