← Back

Windowing Functions

Control spectral leakage in frequency analysis

Window Function (Time Domain)

Signal with Window Applied

Window Spectrum (dB)

Windowed Signal Spectrum

Main Lobe Width

2 bins

Side Lobe Level

-13 dB

Side Lobe Falloff

6 dB/oct

Coherent Gain

1.00

Why Window Functions?

When analyzing a finite segment of a signal, the FFT assumes the segment repeats infinitely. If the signal doesn't complete exact cycles within the window, discontinuities cause spectral leakage - energy spreads to adjacent frequency bins.

Rectangular: Best frequency resolution, worst leakage (-13 dB sidelobes)

Hann: Good general-purpose window, -31 dB sidelobes

Hamming: Optimized for minimum near-sidelobe level, -42 dB

Blackman: Excellent sidelobe suppression (-58 dB), wider main lobe

Kaiser: Adjustable tradeoff via β parameter