Hi all,
I have some problems with my datas. I have a matrix of 20x6x12x32 where 20 and 6 are the longitude and latitude, 12 the months and 384 the years.
I need to select the winter months like DJF, so I need the december of the previous year. For the first year I will obtain a winter just with JF and for the last year just with December.
I try this
winter = wind(:,:,[12,1,2],:);for i=1:20 for j=1:6 for k=1:3 for z=1:32 winter_mean(i,j,z)=mean(winter(i,j,k,z)); end end endend
But the result is incorrect because it choose the December of that year and not the previous one.
Any ideas?? Thank you really much
Best Answer