IND2SUBVECT: Multiple subscript vector from linear index.
Nessuna licenza
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.
Cita come
David Fass (2024). IND2SUBVECT: Multiple subscript vector from linear index. (https://www.mathworks.com/matlabcentral/fileexchange/5476-ind2subvect-multiple-subscript-vector-from-linear-index), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Compatibilità della piattaforma
Windows macOS LinuxCategorie
Tag
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |