Vectorize a moving average calculation
babelproofreader
babelproofreader at gmail.com
Mon Nov 3 15:01:03 CST 2008
I would like to calculate various moving averages, FIR filters etc. which
rely on previously calculated values of said averages and filters e.g. an
exponential moving average is of the form alpha*ValueToday +
(1-alpha)*ValueYesterday. How does one use vectorized code to calculate such
things?
--
View this message in context: http://www.nabble.com/Vectorize-a-moving-average-calculation-tp20303346p20303346.html
Sent from the Octave - General mailing list archive at Nabble.com.
More information about the Help-octave
mailing list