Quiz Exam - DSP - 2023
Quiz Exam - DSP - 2023
I do hereby attest and affirm that my anwers to the questions are my work alone and that
I did not solicit or receive assistance from any other person in their preparation. I
understand that during the exam, I am only permitted to use the handwritten single A4-
sized sheet, Not permitted to use any class notes, textbook, or external resources. I am
also aware that I am not permitted to use any electronic devices such as computers or
cellphones during the exam.
NAME SURNAME:
ID:
SIGNATURE:
QUESTION Q1 Q2 Q3 Q4 Q5 TOTAL
System A:
System B:
𝑥[𝑛/3] 𝑛 = 0,3,6, …
xdown[n] = x[2n] down sampling by 2 and 𝑥 𝑢𝑝 [𝑛] = { upsampling by 3
0 𝑜𝑡ℎ𝑒𝑟𝑤𝑖𝑠𝑒
Q-1-a (10 points): For x[n] as shown in figure plot 𝑦𝐴 [𝑛] and 𝑦𝐵 [𝑛] (assume
x[n]=0, outside the interval shown).
Q-1-b (10 points): For any arbitrary input signal x[n], show that if yA[n]= yB [n] or not ? (is
equal) If your answer is yes, justify your answer. If your answer is no, clearly explain why?
1 0≤n≤4
Q-2 (20 points): For given x[n] (as figure below) and h[n] = { Linear
0 otherwise
Time Invariant (LTI) discrete system
𝐻(𝑧) = 1 + 𝑧 −1 + 𝑧 −2 + 𝑧 −3 + 𝑧 −4
𝑋(𝑧) = 4 + 3𝑧 −1 + 2𝑧 −2 + 𝑧 −3
𝑌(𝑧) = 𝐻(𝑧)𝑋(𝑧)𝑦(𝑛)
= 4𝛿(𝑛) + 7𝛿(𝑛 − 1) + 9𝛿(𝑛 − 2) + 10𝛿(𝑛 − 3)
+ 10𝛿(𝑛 − 4) + 6𝛿(𝑛 − 5) + 3𝛿(𝑛 − 6) + 𝛿(𝑛 − 7)
Q-3 (20 points): Given the sequence x(n) = (6 - n) [ u (n)- u(n -6) ], make a sketch of
(a) y2(n) = x(2n - 3)
(b) y3 (n ) = x(8 - 3n)
Q-4 (20 points): For each of the systems below, x(n) is the input and y(n) is the output.
Determine which system is homogeneous, which system is additive, and which is linear.
a) y(n) = 6x(n) + [x(n) + x(n-1)] /x(n)
This system is homogeneous, because the response of the system to
x1(n) = cx(n) then y1(n) = cy(n)
but system is clearly, however, not additive and therefore is nonlinear. (x3(n) = x1(n) + x2(n))
𝑛𝜋
b) y(n) = x(n) Sin( 2 )
Let y1(n) and y2(n) be the responses of the system to the inputs x1(n) and x2(n), respectively.
The response to the input
x(n) = ax1(n) + bx2(n)
𝑛𝜋 𝑛𝜋
y(n) = x(n) Sin( ) = [ax1 (n) +bx2(n)] Sin( )
2 2
Thus, it follows that this system is linear and, therefore, additive and homogeneous.
Q-5 (20 points): Solve the following difference equation
y(n) + 2y(n-1) = x(n)
a) Find the impulse response of system h(n)
1
b) Find the output for input is given as 𝑥(𝑛) = (3)𝑛 𝑢(𝑛) and the initial condition y(–1) = 1.
1
H(z) = 1+2𝑧 −1