Digital Signal Processing Basics

A 256-point signal is followed by 768 zeros (zero padding) and a 1024-point DFT is computed. Compared with computing the DFT of the 256 points as they are, which of the following is correct?

  1. AThe spectrum is interpolated at finer spacing, but the ability to tell apart two sine waves of close frequencies does not change
  2. BThe bin spacing becomes 1/4, and the ability to tell apart two sine waves of close frequencies also improves fourfold
  3. CThe added zeros join the two ends of the interval smoothly, so spectral leakage disappears and peak heights can be read accurately
Show answer and explanation

Answer: A. The spectrum is interpolated at finer spacing, but the ability to tell apart two sine waves of close frequencies does not change

Zero padding makes the bin spacing finer, fs/1024, and gives values interpolated between those of the 256-point spectrum. No new information is added, however, so the ability to tell two frequencies apart (the frequency resolution) is set by the 256 samples actually observed and stays at about fs/256. Truly improving it requires recording data over a longer time. Zero padding is used to make peak positions easier to read or to bring the number of points to a power of two for the FFT.

  • A. Correct. The spectrum only looks smoother through interpolation; the ability to tell frequencies apart does not change.
  • B. The bin spacing becomes 1/4, but the ability to tell frequencies apart is set by the 256 samples observed and does not improve.
  • C. Leakage comes from how the observation interval is cut out, and appending zeros does not remove it.
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. Which of the following is the main cause of spectral leakage in a DFT?
  2. Which of the following correctly compares the rectangular window (no window applied) and the Hann (Hanning) window applied before a DFT?
  3. 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?
  4. 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)?
  5. 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?