What makes you think this is what the OP needs? He has not yet addressed that issue.An exponential moving average filter is a type of IIR digital filter that is really easy to implement. This is the formula out[n] = out[n-1]*(1-alpha) + in[n]*alpha
alpha is the averaging constant between zero and one. One means no filtering and close to zero means heavy filtering.
You can find more details plus sample code in this article:
http://www.coactionos.com/embedded-...se-digital-filter-with-minimal-resources.html
Well, it is what the OP asked for.What makes you think this is what the OP needs? He has not yet addressed that issue.
Thread starter | Similar threads | Forum | Replies | Date |
---|---|---|---|---|
P | Digital Filters Question Basic | Analog & Mixed-Signal Design | 3 | |
S | digital filters | Digital Design | 1 | |
M | pros and cons of digital filters | Wireless & RF Design | 12 | |
Working of Digital filters... | Homework Help | 23 | ||
K | Digital filters? | Digital Design | 0 |
by Jake Hertz
by Jake Hertz
by Duane Benson