Hello,
I have a potentially simple question.
I have a spatial matrix A=144x192x1x12. The fourth dimension is time in months.
I would like to make a matrix where I have 30 years of repeated data B=144x192x1x360.
I have tried something along the lines of-
for i=1:12;B(:,:,:,i:12:360)=A(:,:,:,i);end
But of course this did not work due to differnce sizes of each side.
How would I achieve this simple copying of each year for 30 years?
Thank you,
Holly
Best Answer