Homework 2
Homework 2
Geetha Chandrasekaran
(Due: Sep 21, 10:00 pm)
δ[n − k] e−jωk
e−jωk
u[n − k] + πe−jωk δ(ω)
1 − e−jω
1
an u[n], |a| < 1
1 − ae−jω
1
−bn u[−n − 1], |b| > 1
1 − be−jω
ejw0 n 2π ∞
P
k=−∞ δ(ω − w0 − 2πk)
P∞
cos(w0 n) k=−∞ [π (δ(w − w0 − 2πk) + δ(w + w0 − 2πk))]
P∞ π
sin(w0 n) k=−∞ (δ(w − w0 − 2πk) − δ(w + w0 − 2πk))
j
sin(N /2ω) −j N −1 ω
u[n] − u[N ] e 2
(sin(ω/2)
sin(w0 n) 1 |w| ≤ w0
πn 0 w0 < |w| ≤ π
1. For each of the following LTI systems indicate whether or not the system is causal.
n
(a) h[n] = 12 u[n] , where u[n] is the unit step function.
n
(b) h[n] = 12 u[n − 1]
|n|
(c) h[n] = 12
(d) h[n] = u[n + 2] − u[n − 2]
n
(e) h[n] = 31 u[n] + 3n u[−n − 1]
2. For each of the following LTI systems indicate whether or not the system is stable.
3. Consider the difference equation of a causal LTI system y[n] + a1 y[n − 1] = x[n − 1].
1
Homework 2 ESET 3302 Dr. Geetha Chandrasekaran
(Due: Sep 21, 10:00 pm)
Sketch the output of the system, if the input is x[n] = 2δ[n + 1] + 3δ[n] + 4δ[n − 1] + 5δ[n − 2].
(Hint: Plot the impulse response and input, then work on the convolution. You can always
cross-validate your answer using MATLAB).
(c) (MATLAB) Sketch a plot of the magnitude |H(ejω )| and the phase ∠H(ejω ). (Hint: Let
H be the DTFT calculated, then use plot(w,unwrap(angle(H))) for the phase.)
(d) Suppose that the input to this system is
determine the corresponding output y1 [n]. (Hint: Use the frequency response function)
(e) (Bonus*) Now, suppose that the input to this system is
determine the corresponding output y2 [n]. (Hint: Use the frequency response function)