Hamming Windows

The Hamming window is a modified version of the Hanning window. Its shape is also similar to that of a cosine wave. It can be defined as

w(n) = 0.54 – 0.46cos(2n/N)

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

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

You see that the Hanning and Hamming windows are somewhat similar. However, note that in the time domain, the Hamming window does not get as close to zero near the edges as does the Hanning window.