COMSATS University Islamabad, Lahore Campus: Lab Terminal Exam (Spring-2020)
COMSATS University Islamabad, Lahore Campus: Lab Terminal Exam (Spring-2020)
Take the digits of your Student ID and make third last digit equal to “X”, second last digit equal to “Y”
and last digit equal to “Z”. For example, if your registration number is FA18-BEE-215 then X=2, Y=1 and
Z=5 (in case any digit X, Y, Z or the computed expression using X, Y and Z becomes 0, replace it with 9
and mention it clearly in your .m files and solutions). Solve the following questions by clearly mentioning
and putting the value of ‘X’ ‘Y’ and ‘Z’ in the appropriate places in your solutions.
XYt
Given the signal x(t ) Z .e
X Zt
f (t ) XZ e ( Z Y )e 2t
Y
c. Construct a MATLAB code that computes the Laplace Transform F(s) of the signal defined in part-b.
d.Plot the signals obtained in part-b and part-c using the ‘subplot()’ command in MATLAB.
e. Construct a MATLAB code which expresses the F(s) obtained in part-c in partial fractions formation.
f. Compute the inverse laplace transform from the partial fractions formation obtained in part-e
g.Construct a MATLAB code that verifies the Differentiation property in s-domain for the signal f (t ) and its
Laplace Transform F(s) for Yth derivative.
a.What is the order of the given FIR filter? (Tick in the box following the correct answer choice)
4th Order
5th Order
6th Order
b.How many feedback paths are involved in the FIR filter? (Color the correct answer box “BLUE”)
0 2
1 3
c. Draw the block diagram of the given structure using Direct Form (Hint: Draw on the paper and paste your
results as image in the space provided)
d.Compute the response of the FIR filter to the following input signal
x[n] 0. X Y .n , Z n Z
g.Compute the error term for the right hand side (RHS) and left hand side (LHS) of part-e in MATLAB.
Viva voce.