Implements a moving average algorithm. A window of specified length, moves over the data, sample by sample, and the average is computed over the data in the window.
Source: https://www.mathworks.com/help/dsp/ug/sliding-window-method-and-exponential-weighting-method.html
Applies filter to a sample
value to be filtered
timestamp when the sample was measured
Implements a moving average algorithm. A window of specified length, moves over the data, sample by sample, and the average is computed over the data in the window.
Source: https://www.mathworks.com/help/dsp/ug/sliding-window-method-and-exponential-weighting-method.html