阅读背景:

两个数组在matlab / octave中定义2d坐标,作为数组索引

来源:互联网 

I have a 2D array, call it 'A'. I have two other 2D arrays, call them 'ix' and 'iy'. I would like to create an output array whose elements are the elements of A at the index pairs provided by x_idx and y_idx. I can do this with a loop as follows:I have a 2D array, call it 'A'. I have two othe




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: