DSP 101
M11 · L01
Module 11: Multirate Signal Processing

Decimation (Downsampling)

Why carry millions of samples when thousands will do? Decimation reduces sample rate by M, shrinking data, storage, and compute — if you first remove the frequencies that would alias.

01 / 11
DSP 101
M11 · L01
Motivation

Why Reduce the Rate?

Often the signal of interest is much narrower than the capture bandwidth. Processing at a lower rate saves power, memory, and time.

SDR
100 MHz capture → 200 kHz signal
Audio
96 kHz → 44.1 kHz for playback
ADC
ΣΔ oversample then decimate
02 / 11
DSP 101
M11 · L01
The Operation

Keep Every M-th Sample

Discard M−1 samples out of every M. Output rate = fs/M. Sounds simple — but frequencies above the new Nyquist limit will alias and corrupt everything.

Downsampling
y[n]=x[Mn]
03 / 11
DSP 101
M11 · L01
The Problem

Aliasing is Irreversible

  • New Nyquist = fs/(2M) — anything above folds down
  • A 3 kHz component at M=4 aliases to 3000/4 = 750 Hz
  • It lands on top of genuine 750 Hz energy — inseparable
  • No post-processing can undo aliasing once it happens
04 / 11
DSP 101
M11 · L01
The Solution

Filter First

Apply a lowpass filter with cutoff ωc = π/M before discarding samples. This removes everything that would alias.

Cutoff Frequency
\omega_c = \dfrac{\pi}{M}
05 / 11
DSP 101
Interactive
Try It

Decimation Visualized

Adjust M. See how the spectrum compresses and the new Nyquist limit (dashed line) changes. The filtered region is shown in amber.

M4
06 / 11
DSP 101
M11 · L01
Frequency Domain

Spectral Compression

Downsampling sums M shifted copies of the spectrum. If the input was bandlimited to π/M, the copies don’t overlap — the passband simply stretches to fill the full output bandwidth.

Output Spectrum
Y(e^{j\omega})=\tfrac{1}{M}\sum_{k=0}^{M-1}X\!\left(e^{j(\omega-2\pi k)/M}\right)
07 / 11
DSP 101
M11 · L01
Efficiency

Polyphase Decomposition

Don’t compute outputs you’ll immediately throw away. Split the filter into M branches — each operates at 1/M the rate. Total cost drops by M.

Cost
N taps / M branches = N/M multiplies per output sample instead of N
08 / 11
DSP 101
M11 · L01
Going Further

Multistage & CIC Filters

  • Multistage: decimate ×4 ×4 ×4 instead of ×64 — simpler filters each stage
  • CIC filters: zero multiplications — pure adds/subtracts, ideal for M in the hundreds
  • SDR front ends: 100 MHz → 1 MHz in a single CIC stage
  • ΣΔ ADCs: oversample at 256× then CIC-decimate to output rate
09 / 11
DSP 101
Decimation

Filter first, then drop samples

Four checks on downsampling by M and the anti-aliasing filter that must come first.

Question 1 of 0
Score 0/0

10 / 11
DSP 101
Up Next
Coming Up

Interpolation (Upsampling)

The reverse: insert samples to increase the rate. We’ll see why zeros are inserted (not repeated samples) and how the anti-imaging filter removes spectral replicas.

11 / 11