Digital Signal Processing Basics

The sequence x[n] = {1, 2, 3} (n = 0, 1, 2) is applied to an LTI system with impulse response h[n] = {1, −1} (n = 0, 1). Which of the following are the outputs y[0] to y[3]?

  1. A−1, −1, −1, 3
  2. B1, 3, 5, 3
  3. C1, 1, 1, −3
Show answer and explanation

Answer: C. 1, 1, 1, −3

For h[n] = {1, −1}, the convolution y[n] = Σx[k]h[n − k] becomes y[n] = x[n] − x[n − 1], the difference from the previous input. y[0] = 1 − 0 = 1, y[1] = 2 − 1 = 1, y[2] = 3 − 2 = 1 and y[3] = 0 − 3 = −3. The output length is 3 + 2 − 1 = 4, from the input length 3 and the impulse-response length 2.

  • A. This is computed without time-reversing h (a cross-correlation); its signs are opposite to the correct output.
  • B. This is the convolution with {1, 1}, dropping the sign of h[1].
  • C. Correct. It computes the difference from the previous input, x[n] − x[n − 1].
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 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]?
  2. 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?
  3. 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?
  4. A 64-point DFT of a real signal x[n] gives X[10] = 3 + 4j. Which of the following is X[54]?
  5. 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?