Problem 5

An LTI system has unit impulse response h[n]=u[n]-u[n-2].

a)Compute the system's function H(z).

$ H(z) = \sum_{k=-\infty}^{\infty}h[k]z^{-k}\, $

$ = \sum_{k=-\infty}^{\infty}(u[k]-u[k-2])z^{-k}\, $

$ = \sum_{k=0}^{1}z^{-k}\, $

$ = 1 + \frac{1}{z} $

b) Use your answer in a) to compute the system's response to the input x[n] = cos($ \pi $n).

$ x[n] = \sum_{k=<N>}^{}a_ke^{jk(2\pi/N)n}\, $

Then the response is

$ y[n] = \sum_{k=<N>}^{}a_kH(e^{j2\pi k/N})e^{jk(2\pi/N)n}\, $


$ x[n] = cos(\pi n)\, $ $ =\frac{e^{j\pi n}+e^{-j\pi n}}{2}\, $

$ output=\frac{1}{2}H(e^{j\pi})e^{j\pi n}+\frac{1}{2}H(e^{-j\pi})e^{-j\pi n}\, $

since $ H(e^{j\pi})=H(e^{-j\pi})=0\, $

$ output=0\, $

Alumni Liaison

Questions/answers with a recent ECE grad

Ryne Rayburn