SOLVED!!
prova = mean(bsfd,3); % this calculate the mean value over the entire time period
prova_yr = (bsfd(:,:,1:12:372)); % this is to calculate yearly mean and have a spatial representation
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!