Documentation of seasave

Global Index (all files) (short | long) | Local Index (files in subdir) (short | long)

Function Synopsis

ave=seasave(decx, x);

Help text

   av = seasave(decx, x);

   This averages x by season, assuming decx contains
   data for the month of december preceding the data in 

Cross-Reference Information

This function calls

Listing of function seasave

function ave=seasave(decx, x);

[tmax, ngrid] = size(x);
x=[decx; x(1:(tmax-1),:)];

ave = zeros((tmax/3),ngrid);
for i=1:(tmax/3);
  ave(i,:) = mean2(x((3*(i-1)+1):(3*(i-1)+3),:));