0% found this document useful (0 votes)
14 views2 pages

Homework 2

Uploaded by

Dupree Cleveland
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views2 pages

Homework 2

Uploaded by

Dupree Cleveland
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Homework 2 ESET 3302 Dr.

Geetha Chandrasekaran
(Due: Sep 21, 10:00 pm)

Table 1: Common DTFT pairs

Time domain: x[n] Frequency domain X(ejω )


P∞
1 2π k=−∞ δ(w − 2πk)

δ[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.

(a) h[n] = 4n u[n]


(b) h[n] = u[n] − u[n − 10]
(c) h[n] = 3n u[−n − 1]
|n|
(d) h[n] = 43 cos(πn/4)
(e) h[n] = 2u[n + 5] − u[n] − u[n − 5]

3. Consider the difference equation of a causal LTI system y[n] + a1 y[n − 1] = x[n − 1].

(a) Find the impulse response h[n], as a function of the constant a.


(b) For what range of values of a will the system be stable?

1
Homework 2 ESET 3302 Dr. Geetha Chandrasekaran
(Due: Sep 21, 10:00 pm)

4. (Convolution) Let the impulse response of a system be

h[n] = 2δ[n] + δ[n − 1].

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).

5. (DTFT ) Consider an LTI system defined by the following difference equation

y[n] = −2x[n] + 4x[n − 1] − 2x[n − 2]

(a) Determine the impulse response of this system


(b) Determine the frequency response of this system using the definition of

X
H(ejω ) = h[n]e−jωn .
n=−∞

(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

x1 [n] = 1 + ej0.5πn , −∞ < n < ∞,

determine the corresponding output y1 [n]. (Hint: Use the frequency response function)
(e) (Bonus*) Now, suppose that the input to this system is

x2 [n] = 1 + ej0.5πn u[n], −∞ < n < ∞,




determine the corresponding output y2 [n]. (Hint: Use the frequency response function)

You might also like