You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
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.
Cite As
David Fass (2026). IND2SUBVECT: Multiple subscript vector from linear index. (https://nl.mathworks.com/matlabcentral/fileexchange/5476-ind2subvect-multiple-subscript-vector-from-linear-index), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (646 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
