ELEC 342 Assignment #2
Q1) Given the impulse response ℎ[𝑛] of the DT LTI system shown in the figure
below, calculate and plot the output response of the system 𝑦[𝑛], where the
input is the DT signal 𝑥[𝑛] shown in the same figure. Do not use the convolution
technique. Show all your steps.
Q2) For the following system with response:
ℎ1 [𝑛] = 𝛼 𝑛 𝑢[𝑛]
, where 𝛼 is a constant,
a) Is this system causal? Why?
b) Is the system stable? Why?
Repeat a) and b) for:
ℎ2 [𝑛] = 𝑒 𝑛 𝑢[𝑛]
ℎ3 [𝑛] = 𝛼 𝑛 𝑢[𝑛 + 4]
Q3) 𝑥1 [𝑛] and 𝑥2 [𝑛] are periodic signals with a similar period N. The periodic
convolution of 𝑥1 [𝑛] and 𝑥2 [𝑛] can be written as:
𝑁−1
𝑓 [𝑛] = 𝑥1 [𝑛] ⨂𝑥2 [𝑛] = ∑ 𝑥1 [𝑘] 𝑥2 [𝑛 − 𝑘]
𝑘=0
Is 𝑓 [𝑛] periodic? If yes, determine its period. Show your steps.
ELEC 342 Assignment #2
Q4) For the following causal LTI DT systems, determine the impulse response ℎ[𝑛].
Show whether each system is FIR or IIR system.
a) 𝑦[𝑛] = 2𝑥[𝑛] + 3𝑥[𝑛 − 5] − 𝑥[𝑛 − 3]
b) 𝑦[𝑛] + 2𝑦[𝑛 − 1] = 𝑥[𝑛] + 𝑥[𝑛 − 1]
1
c) 𝑦[𝑛] − 𝑦[𝑛 − 2] = 5𝑥[𝑛] − 𝑥[𝑛 − 2]
2
Q5) Calculate the Fourier series representation of the following DT signals:
𝜋
a) 𝑥[𝑛] = 𝑐𝑜𝑠( 𝑛)
4
3𝜋
b) 𝑥[𝑛] = 𝑎 𝑐𝑜𝑠 2 ( 𝑛)
8
𝜋 𝜋
c) 𝑥[𝑛] = 𝑐𝑜𝑠( 𝑛) + 𝑠𝑖𝑛( 𝑛)
3 4
Q6) For x[n] in the figure below, calculate the Fourier series coefficients 𝑎𝑘 . Then
sketch |𝑎𝑘 |
Q7) Consider we have two periodic sequences 𝑥1 [𝑛], and 𝑥2 [𝑛] with a common
period 𝑁0 . Thus, their Fourier series can be represented as:
𝑁0 −1
2𝜋
𝑗𝑘 𝑛
𝑥1 [𝑛] = ∑ 𝑐𝑘 𝑒 𝑁0
𝑘=0
𝑁0 −1
2𝜋
𝑗𝑘 𝑛
𝑥2 [𝑛] = ∑ 𝑑𝑘 𝑒 𝑁0
𝑘=0
For 𝑥 [𝑛] = 𝑥1 [𝑛] 𝑥2 [𝑛],
a) Show that 𝑥 [𝑛] is periodic and calculate its fundamental period.
b) Calculate the Fourier series coefficients of 𝑥 [𝑛], 𝑎𝑘 , in terms of 𝑐𝑘 and 𝑑𝑘
ELEC 342 Assignment #2
Q8) Let 𝑥 [𝑛] be a real periodic DT signal with fundamental period 𝑁0 . 𝑥 [𝑛] has
complex Fourier series coefficients 𝑎𝑘 = 𝑏𝑘 + 𝑗𝑐𝑘 , where 𝑏𝑘 and 𝑐𝑘 are real
numbers.
a) Prove that 𝑎−𝑘 = 𝑎𝑘∗
b) Discuss the relation between 𝑏𝑘 and 𝑏−𝑘 ; and between 𝑐𝑘 and 𝑐−𝑘
c) Consider 𝑁0 is even, is 𝑎(𝑁0) a real number? Justify your answer.
2
d) Show that if 𝑁0 is odd, x[n] can be expressed as:
𝑁0 −1
2
2𝜋𝑘𝑛 2𝜋𝑘𝑛
𝑥[𝑛] = 𝑎0 + 2 ∑ 𝑏𝑘 𝑐𝑜𝑠( ) − 𝑐𝑘 𝑠𝑖𝑛( )
𝑁0 𝑁0
𝑘=1
e) Show that if 𝑁0 is even, x[n] can be expressed as:
𝑁0 −1
2
2𝜋𝑘𝑛 2𝜋𝑘𝑛
𝑥[𝑛] = 𝑎0 + (−1)𝑛 (𝑎 𝑁0 ) + 2 ∑ 𝑏𝑘 𝑐𝑜𝑠( ) − 𝑐𝑘 𝑠𝑖𝑛( )
( )
2 𝑁0 𝑁0
𝑘=1