vectorindex

Evaluate n-dimensional arrays at vectors of indices.

Al momento, stai seguendo questo contributo

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.

Cita come

Chad Lieberman (2026). vectorindex (https://it.mathworks.com/matlabcentral/fileexchange/38176-vectorindex), MATLAB Central File Exchange. Recuperato .

Categorie

Scopri di più su Operators and Elementary Operations in Help Center e MATLAB Answers

Informazioni generali

Compatibilità della release di MATLAB

  • Compatibile con qualsiasi release

Compatibilità della piattaforma

  • Windows
  • macOS
  • Linux
Versione Pubblicato Note della release Action
1.0.0.0