MATLAB 提供了ind2sub() 和sub2ind() 函数用来对索引和下标进行转换。 ind2sub() 用来将索引转换成下标,它的用法为:. [i, j] = ind2sub(siz, index).
確定! 回上一頁