Digital Signal Processing Basics

Which of the following systems with input x[n] and output y[n] is causal (its output depends only on inputs up to the present time)?

  1. Ay[n] = x[n + 1] − x[n]
  2. By[n] = x[n] + 0.5y[n − 1]
  3. Cy[n] = (x[n − 1] + x[n] + x[n + 1])/3
Show answer and explanation

Answer: B. y[n] = x[n] + 0.5y[n − 1]

In a causal system, the output at time n depends only on inputs at or before time n (and on past outputs). y[n] = x[n] + 0.5y[n − 1] uses only the present input and the previous output, so it is causal and can be computed in real time. The other two contain x[n + 1], a future input that has not arrived yet, so they are not causal. When recorded data is processed afterwards, for example, processing that uses values on both sides can still be realized by delaying the output.

  • A. It uses the next input x[n + 1], so it is not causal.
  • B. Correct. It can be computed from the present input and a past output only.
  • C. This is the average of three values around n and contains the future input x[n + 1], so it is not causal.
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. Let u[n] be the unit step. Which of the following LTI systems, given by their impulse responses, is BIBO stable (every bounded input gives a bounded output)?
  2. 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]?
  3. 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]?
  4. 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?
  5. 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?