help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vectorized moving average?


From: Tim Rueth
Subject: vectorized moving average?
Date: Wed, 5 May 2010 22:28:25 -0700

Does anyone know how to take an n-day weighted moving average of a vector without using a for-loop?  I looked at the M code for movavg() and it uses a for-loop, so I'm guessing there probably isn't a way, but I thought I'd check.  Thanks.
 
--Tim

reply via email to

[Prev in Thread] Current Thread [Next in Thread]