Digital Signal Processing Basics

Which of the following correctly compares the rectangular window (no window applied) and the Hann (Hanning) window applied before a DFT?

  1. AThe Hann window makes the main lobe about half as wide as the rectangular window and also lowers the side lobes, so it is better in every respect
  2. BThe Hann window has lower side lobes and less leakage into distant bins, but its main lobe is about twice as wide as that of the rectangular window
  3. CThe Hann window narrows the main lobe, but in exchange its side lobes are higher than those of the rectangular window
Show answer and explanation

Answer: B. The Hann window has lower side lobes and less leakage into distant bins, but its main lobe is about twice as wide as that of the rectangular window

The rectangular window has a narrow main lobe of ±1 bin (to the first nulls), but its highest side lobe is high, about −13 dB, so leakage spreads to distant bins. The Hann window brings both ends of the interval smoothly to 0, lowering the highest side lobe to about −31 dB, but its main lobe widens to ±2 bins, about twice as wide. The choice depends on the purpose: a window like Hann to see a weak signal near a strong one, and the rectangular window to tell apart signals of similar strength at close frequencies.

  • A. The main lobe actually becomes wider. There is a trade-off: lowering the side lobes widens the main lobe.
  • B. Correct. The side lobes drop from about −13 dB to about −31 dB, and the main lobe widens from ±1 bin to ±2 bins.
  • C. It is the other way round: the Hann window has lower side lobes and a wider main lobe.
Practice this topic Back to topic

Books on Digital Signal Processing Basics Ad

As an Amazon Associate I earn from qualifying purchases.

More Digital Signal Processing Basics questions

  1. Assume the number of points N is large enough. In a DFT with a rectangular window, a sine wave lies exactly halfway between two adjacent bins. Which of the following is closest to the drop in the amplitude read at the nearest bin, compared with a sine wave exactly at a bin center?
  2. The DFT of the 4-point signal x[n] = {1, −1, 2, 0} is defined as X[k] = Σx[n]e^(−j2πkn/4). Which of the following is Σ|X[k]|² (k = 0 to 3)?
  3. When the frequency response of a discrete-time LTI system is obtained from its transfer function H(z), along which of the following is z moved?
  4. Which of the following is the transfer function H(z) = Y(z)/X(z) of the system described by the difference equation y[n] = x[n] + 0.5x[n − 1] + 0.25y[n − 1]?
  5. Which of the following correctly gives the poles and the stability of the causal system with transfer function H(z) = 1/(1 − 1.3z⁻¹ + 0.4z⁻²)?