MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi
Learn moreOpportunities for recent engineering grads.
Apply TodayMATLAB Central > MATLAB Newsreader > moving average code taking too long 

Subject: moving average code taking too long From: Sean Douglas Date: 1 Jun, 2010 18:59:22 Message: 1 of 11 
I just wrote a moving average program, but it is taking about 10 minutes to run and this is too long. Here is the code I am using on a small example. 
Subject: moving average code taking too long From: Walter Roberson Date: 1 Jun, 2010 19:14:27 Message: 2 of 11 
Sean Douglas wrote: 
Subject: moving average code taking too long From: Roger Stafford Date: 1 Jun, 2010 19:16:04 Message: 3 of 11 
"Sean Douglas" <seanjdouglas@hotmail.com> wrote in message <hu3la9$4hp$1@fred.mathworks.com>... 
"Sean Douglas" <seanjdouglas@hotmail.com> wrote in message <hu3la9$4hp$1@fred.mathworks.com>... 
Subject: moving average code taking too long From: John D'Errico Date: 1 Jun, 2010 19:34:04 Message: 5 of 11 
"Sean Douglas" <seanjdouglas@hotmail.com> wrote in message <hu3la9$4hp$1@fred.mathworks.com>... 
Subject: moving average code taking too long From: Sean Douglas Date: 1 Jun, 2010 20:48:04 Message: 6 of 11 
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <hu3nbc$o7m$1@fred.mathworks.com>... 
Subject: moving average code taking too long From: Sean Douglas Date: 1 Jun, 2010 20:55:21 Message: 7 of 11 
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <hu3nbc$o7m$1@fred.mathworks.com>... 
Subject: moving average code taking too long From: Walter Roberson Date: 1 Jun, 2010 21:05:14 Message: 8 of 11 
Sean Douglas wrote: 
Subject: moving average code taking too long From: John D'Errico Date: 1 Jun, 2010 21:36:04 Message: 9 of 11 
"Sean Douglas" <seanjdouglas@hotmail.com> wrote in message <hu3s3p$igi$1@fred.mathworks.com>... 
Subject: moving average code taking too long From: Steve Amphlett Date: 1 Jun, 2010 21:52:03 Message: 10 of 11 
"John D'Errico" <woodchips@rochester.rr.com> wrote in message <hu3ug4$2e9$1@fred.mathworks.com>... 
Subject: moving average code taking too long From: ImageAnalyst Date: 2 Jun, 2010 01:05:13 Message: 11 of 11 
On Jun 1, 5:52 pm, "Steve Amphlett" <Firstname.Lastn...@WhereI 
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.