|
Filters 1.0
LPF, HPF, BPF, BSF, SRL
|
Moving-average low-pass filter. More...
Go to the source code of this file.
Classes | |
| class | filter::low_pass::MA< T, N > |
| Fixed-window moving-average low-pass filter. More... | |
Namespaces | |
| namespace | filter |
| Contains digital signal filtering algorithms. | |
| namespace | filter::low_pass |
| namespace | low_pass |
| Contains low-pass filter implementations. | |
Moving-average low-pass filter.
This file defines the filter::low_pass::MA class, which implements a moving-average low-pass filter using a fixed-size sliding window.
The filter maintains a window of the most recent N input samples and calculates their average to produce the filtered output.
The window size N is specified at compile time.
A larger window provides stronger smoothing but introduces greater delay and reduces the effective bandwidth of the filter.
| T | Numeric data type used for filter calculations. |
| N | Number of samples in the moving-average window. |
Definition in file ma.h.