Signals and DSP · z-transform; FIR and IIR filters
A moving average is the simplest digital filter, and its length can be chosen to remove a specific unwanted frequency from sensor data.