/[MITgcm]/MITgcm_contrib/timour_matlab/mscripts/runningmean.m
ViewVC logotype

Contents of /MITgcm_contrib/timour_matlab/mscripts/runningmean.m

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Sep 3 21:22:22 2003 UTC (21 years, 10 months ago) by edhill
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
initial checkin of Timour's MatLAB scripts

1 running=zeros(1,119);
2 running(1)=tincol(1);
3 for i=2:length(tincol)
4 running(i)=(tincol(i)+running(i-1))/2;
5 end
6
7 running=zeros(119,30);
8 running(1,:)=tcol(1,:);
9 for i=2:length(tcol)
10 running(i,:)=(tcol(i,:)+running(i-1,:))/2;
11 end

  ViewVC Help
Powered by ViewVC 1.1.22