vectorindex

Evaluate n-dimensional arrays at vectors of indices.

Sie verfolgen jetzt diese Einreichung

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.

Zitieren als

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

Kategorien

Mehr zu Operators and Elementary Operations finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0