Digital Signal Processing Basics

A unit step (x[n] = 1 for n ≥ 0) is applied from n = 0 to the system described by the difference equation y[n] = x[n] + 0.5y[n − 1]. With y[−1] = 0, which of the following is y[2]?

  1. A1.75
  2. B1.875
  3. C2
Show answer and explanation

Answer: A. 1.75

Step by step, y[0] = 1 + 0.5 × 0 = 1, y[1] = 1 + 0.5 × 1 = 1.5 and y[2] = 1 + 0.5 × 1.5 = 1.75. Continuing gives y[n] = 2 − 0.5ⁿ, which approaches the final value 1/(1 − 0.5) = 2. Because past outputs are used (there is feedback), this is an IIR filter whose impulse response 0.5ⁿ continues forever.

  • A. Correct. The output goes 1 → 1.5 → 1.75.
  • B. This is y[3]. y[2] is two steps after y[0].
  • C. This is the final value 1/(1 − 0.5) as n → ∞, which has not been reached at y[2].
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. A signal sampled at 48 kHz is analyzed with a 1024-point discrete Fourier transform (DFT). Which of the following is the spacing of the frequency bins?
  2. Let k = 0 be the DC bin. When a 1 kHz sine wave sampled at 8 kHz is analyzed with a 256-point DFT, which of the following is the index k of the bin where the peak appears on the positive-frequency side?
  3. A 64-point DFT of a real signal x[n] gives X[10] = 3 + 4j. Which of the following is X[54]?
  4. The DFT of the 8-point real signal x[n] = {3, 1, 3, 1, 3, 1, 3, 1} is defined as X[k] = Σx[n]e^(−j2πkn/8). Which of the following is the value of X[4], the bin at the Nyquist frequency?
  5. Suppose an N-point DFT takes about N² operations when computed from its definition and about N log₂N operations with the FFT (fast Fourier transform). For N = 1024, which of the following is closest to the reduction in the number of operations achieved by the FFT?