← Back

Aliasing Demonstration

What happens when you sample too slowly

Original Signal
Sample Points
Reconstructed (Aliased)
5.0 Hz
25 Hz
Nyquist Frequency
12.5 Hz
Signal vs Nyquist
OK - No Aliasing
Apparent Frequency
5.0 Hz

The Nyquist-Shannon Sampling Theorem

fs > 2 × fmax

To accurately capture a signal, you must sample at more than twice the highest frequency present in the signal. The Nyquist frequency is half the sampling rate.

Aliasing occurs when the signal frequency exceeds the Nyquist frequency. The signal "folds back" and appears as a lower frequency - a completely different signal than the original!

Examples: Wagon wheels appearing to spin backwards in films, moiré patterns on screens, ultrasound artifacts in medical imaging.

Prevention: Use anti-aliasing filters before sampling to remove frequencies above Nyquist.