Hello,
Lets say I have 2D array x(1100×5), n1=1100,d=501 and w=500. I can create 3D array, with one row step using for loop, however it is very slow working with bigger arrays:
for k=1:n1-da(:,:,k)=x(d-w+k-1:d+k-2,:); end
What would be the way without using for loop?
Best Answer