Hanning Windows

The Hanning window has a shape similar to that of half a cycle of a cosine wave. Its defining equation is

w(n) = 0.5 – 0.5cos(2n/N)

for n = 0, 1, 2, …N – 1.

A Hanning window with N = 32 is shown in the following illustration.

The Hanning window is useful for analyzing transients longer than the time duration of the window, and also for general purpose applications.