[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Vectorize a moving average calculation
From: |
babelproofreader |
Subject: |
Vectorize a moving average calculation |
Date: |
Mon, 3 Nov 2008 13:01:03 -0800 (PST) |
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.
- Vectorize a moving average calculation,
babelproofreader <=