0% found this document useful (0 votes)
24 views5 pages

Lab Sessional II (EPE 5D)

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

Lab Sessional II (EPE 5D)

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

COMSATS University Islamabad, Abbottabad Campus

Department of Electrical Engineering

Lab Sessional 2 – Fall 2020


Class: EPE 5D Date: 03/12/2020
Subject: Digital Signal Processing Instructor: EngrNaumanTareen
Total Time Allowed: 30 minutes Max Marks: 20
Name: Raja Ali Dad Registration #Fa18-Epe-174

Task I
a) Find frequency response and of H(z) and pole-zero plot using matlab
b) Find inverse ztransform of given transfer function using matlab.
jπ /4 −1
1+7 e z
H ( z )= −1
1−15 z
clc
close all
clear all
num=[1 -7];
denum=[1 15];
freqz (num, denum);
figure;
zplane (num, denum);

tf2zp (num, denum);


[z, p, k] =tf2zp (num, denum);
roots(num);
roots(denum);
[b,a]=zp2tf(z,p,k);
Task II
a) Generate random signal and add it in sinusoidal signal of 1032 Hz frequency in Simulink
model and analyze the effect of interpolation (up sample by factor of 3).
b) Add a block of interpolation from library and analyze its spectrum.
 Provide a full analysis using your MATLAB outputs.
Special Instructions:
 Understanding the question is part of assessment.
 Complete solution (including code) should be uploaded in PDF file before 12:30 pm
 Late lab sessional report will not be considered.
 Copied report will be given zero marks.
 Do proper formatting of lab sessional & use appropriate size of plots, with proper labeling.

You might also like