DSP TUTORIAL QUESTIONS
Question 1
a. Determine the total solution for n 0 of a discrete-time invariant system
characterized by the following difference equation:
y[n] + y[n − 1] − 6 y[n − 2] = x[n] , for a step input x[n] = 6[n] and with initial
conditions y[−1] = 1 and y[−2] = −1.
1 | t | 2
b. Given that P (t) =
0 | t |
2
Show that P = u(t + ) − u(t − ) and plot P
2 2
QUESTION 2
a. The following sequences represent one period of a sinusoidal sequence of the form
x[n] = A cos(o n + ) :
i. 0 − 2 −2 − 2 0 2 2 2
ii. 2 2 − 2 − 2
iii. {3 − 3}
iv. {0 1.5 0 − 1.5}
Determine the values of the parameters A, 0 , and in each case.
b. Determine and plot F ( j ) for the following functions:
i. f (t ) = 1 + cos ot
ii. f (t ) = 1 + e− at
f (t) = u(t + ) − u(t − )
2 2
Question 3
a. Draw the block diagram of the system represented by the expression:
y[n] = d 2 x[n] − d1 x[n − 1] + x[n + 2] − d1 y[n − 1] + d 2 y[n + 2] .
b. Let y[n] be the sequence obtained by a linear convolution of the causal finite-length
sequence s h[n] and x[n]. For each pair of y[n] and h[n] listed below, determine x[n].
The first sample of the sequence is its value at n = 0 .
i. {y[n]}={-1, -1, 11, -3, 30, 28, 48}, {h[n]}={-1, 2, 3, 4}
ii. {y[n]}={1, 3, 6, 10, 15, 14, 12, 9, 5}, {h[n]}={1, 2, 3, 4, 5}
iii. {y[n]}={-14-j5, -3-j17,-2+j5,-9.73+j12.5,5.8 + j5.67},{h[n]}={3+j2, -1+j4, 2+j}
Question 4
a. Determine the DTFT of each of the following sequences:
i. X1[n] = n n [−n − 3],| | 1
ii. X 2 [n] = n [−n + 2],| | 1
iii. X 3[n] = n [−n + 1],| | 1
b. Determine the z-transform Y(z) and the ROC of the sequence y[n] = (n + 1) n [n]
c. Show that the inverse z-transform h[n] of the following rational z-transform:
1
H (z) = ,| z | r 0 is given by:
1 − 2r (cos ) Z−1 + r 2 Z −2
r n sin(n + 1)
h[n] = .[n]
sin
QUESTION 5
a. An FIR filter of length-5 is defined by a symmetric impulse response, i.e.
h[n] = h[4 − n], 0 n 4. Let the input to the filter be a sum of three sine sequences
of angular frequencies 0.1 rad/sample, 0.2 rad/sample and 0.5 rad/sample
respectively. Determine the impulse response coefficients so that the filter passes
only the high frequency component of the input. Also determine the exact
expression.
b. Design a length-5 FIR bandpass filter with an antisymetric impulse response
h[n] = −h[4 − n],0 n 4 , satisfying the following magnitude response values:
| H(e j /2 ) |= 0.5 and | H(e j /4 ) |= 1
c. Determine the exact expression for the frequency response of the filter designed in
(b) and sketch the magnitude response.
QUESTION 6
z+2
a. The z-transform of a right sided sequence h[n] is given by H (z) =
(z− 0.4)(z− 0.2)
Find the inverse h[n] via partial fraction approach.
b. The frequency response H (e j ) of a length-4 FIR filter with real impulse response
has the following specific values: H (e j 0 ) = 2, H (e j /2 ) = 7 + j3, and H (e j ) = 0
determine H (z).