Timeline for A basic question about the use of moving average vs low-pass filters in DSP
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 14, 2018 at 6:23 | comment | added | a concerned citizen | I agree with @robertbristow-johnson . What's more, you can use a bare windowing function as a weighted moving average and it will perform better than the basic 1/N, even closer to a lowpass. This is why I think a moving average is usually meant for DC, or close. But, sure, the lack of control over the frequency response is the main difference. | |
May 14, 2018 at 6:15 | comment | added | robert bristow-johnson | i dunno that the moving average or "sliding average" (i presume of the 32 most current samples) can be compared directly to that LPF with cutoff frequency set to half Nyquist. most of the time, with a LPF that is supposed to implement some rendition of a moving average (any LPF with DC gain = 1 is such a filter) there aren't negative coefficients. | |
May 14, 2018 at 0:46 | history | edited | Robert L. | CC BY-SA 4.0 |
More comments about MA filter. Fixed Python code
|
May 13, 2018 at 22:00 | history | answered | Robert L. | CC BY-SA 4.0 |