1.0弃掉sub2ind()后推荐使用的LinearIndices(),
感觉没有完全实现sub2ind()的作用,
举个例子,sub2ind(a,[1;2;3],[4;5;6])用LinearIndices()怎么写?
请参考此PSA:
谢谢,我先啃一啃
1.0弃掉sub2ind()后推荐使用的LinearIndices(),
感觉没有完全实现sub2ind()的作用,
举个例子,sub2ind(a,[1;2;3],[4;5;6])用LinearIndices()怎么写?
请参考此PSA:
谢谢,我先啃一啃