Line 19: | Line 19: | ||
<math> = 1 + \frac{1}{z}\,</math> | <math> = 1 + \frac{1}{z}\,</math> | ||
+ | |||
+ | |||
+ | b) | ||
+ | |||
+ | <math>x[n] = cos(\pi n) = (-1)^{n}\,</math> |
Revision as of 14:13, 15 October 2008
Number 5
An LTI system has unit impulse response $ h[n] = u[n] - u[n - 2]\, $.
a)Compute the system's function H(z).
b)Use the answer from a) to compute the system's response to the input $ x[n] = cos(\pi n)\, $
Answer
a)
$ H(z) = \sum_{k=-\infty}^{\infty}h(n)z^{-n}\, $
After graphing out the two spikes:
$ = 1 * z^{-0} + 1 * z^{-1}\, $
$ = 1 + \frac{1}{z}\, $
b)
$ x[n] = cos(\pi n) = (-1)^{n}\, $