Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

FIR filter

A filter whose output is a weighted sum of the last few inputs.

A finite impulse response filter computes y[n] = Σ h_i x[n - i] over L taps h_i; a single input spike affects exactly L outputs. A moving average is the FIR filter with all taps equal to 1/N.

Examples

  • A 5-tap low-pass with taps 1/8, 1/4, 1/4, 1/4, 1/8 in Q15 smooths the fan's 100 Hz accelerometer samples in a 32-bit accumulator.

  • A moving average of N readings is a FIR filter whose N taps are all 1/N.

Read the full section →