IND2SUBVECT: Multiple subscript vector from linear index.

A perversion of IND2SUB that returns a vector of N indices rather than N individual variables.

이 제출물을 팔로우합니다

See IND2SUB for the basic idea. IND2SUBVECT makes a one-line change to IND2SUB so as to return a vector of N indices rather than returning N individual variables. (This makes the function easier to use when the size of the matrix being indexed is not known in advance.) I hope MathWorks will forgive me for adapting their function and/or include this tweak in a future version of IND2SUB.

인용 양식

David Fass (2026). IND2SUBVECT: Multiple subscript vector from linear index. (https://kr.mathworks.com/matlabcentral/fileexchange/5476-ind2subvect-multiple-subscript-vector-from-linear-index), MATLAB Central File Exchange. 검색 날짜: .

카테고리

Help CenterMATLAB Answers에서 Matrices and Arrays에 대해 자세히 알아보기

일반 정보

MATLAB 릴리스 호환 정보

  • 모든 릴리스와 호환

플랫폼 호환성

  • Windows
  • macOS
  • Linux
버전 퍼블리시됨 릴리스 정보 Action
1.0.0.0