f******r 发帖数: 2975 | 1 Here I have one array index(1xN), the element of index is integer between 1
and k
and another array A(k,N)
Now I wanna create a new array
so that
B(i,j) = A(index(i),j)
My array is very very big
Any quick matlab code for that?
Thanks a lot! | t*q 发帖数: 532 | 2 permute? i don't know. hehe
【在 f******r 的大作中提到】 : Here I have one array index(1xN), the element of index is integer between 1 : and k : and another array A(k,N) : Now I wanna create a new array : so that : B(i,j) = A(index(i),j) : My array is very very big : Any quick matlab code for that? : Thanks a lot!
|
|