Nyquist Sampling Demo
Shannon–Nyquist Sampling Theorem
Signal: 3 Hz
Sampling: 8.0 Hz
NO ALIASING
← drag the canvas horizontally to shift sample phase →
Original signal (3 Hz)
Sample points
Reconstructed signal
Aliasing Formula
f' = f
mod
f
s
f
alias
=
{
f'
if f' ≤ f
s
/ 2
f
s
− f'
if f' > f
s
/ 2
Sampling Rate f
s
Hz
Nyquist: f
s
> 2 × f
signal
= 2 × 3 Hz =
6 Hz
Sinc Window (±N samples)
N = 20
N = 50
N = 100