IND2SUBVECT: Multiple subscript vector from linear index.

版本 1.0.0.0 (646 字节) 作者: David Fass
A perversion of IND2SUB that returns a vector of N indices rather than N individual variables.
3.3K 次下载
更新 2004/7/16

无许可证

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://ww2.mathworks.cn/matlabcentral/fileexchange/5476-ind2subvect-multiple-subscript-vector-from-linear-index), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R13
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Matrices and Arrays 的更多信息
版本 已发布 发行说明
1.0.0.0