紧张糖豆

文章
3
资源
0
加入时间
3年0月28天

ind2sub用法

The ind2sub command determines the equivalentsubscript values corresponding to a single index into an array.ind2sub 将数组中的索引转换成矩阵中的坐标。[I,J] = ind2sub(siz,IND) 返回矩阵I(行下标),J (列下标)。siz是一个向量,siz(1)表示行数