Professional Documents
Culture Documents
DSP-LAB-4-Task: Submitted By: Shazir Ali Khan REG NO # SP18-BTN-004 SUBMITTED TO: Maam Zenab Fazal
DSP-LAB-4-Task: Submitted By: Shazir Ali Khan REG NO # SP18-BTN-004 SUBMITTED TO: Maam Zenab Fazal
FIGURE:
subplot(2,1,1)
plot(w/pi,abs(h));grid
title('Magnitude Spectrum |H(e^{j\omega})|')
xlabel('\omega /\pi');
ylabel('Amplitude');
subplot(2,1,2)
plot(w/pi,angle(h));grid
title('Phase Spectrum arg[H(e^{j\omega})]')
xlabel('\omega /\pi');
ylabel('Phase, radians');
FIGURE:
FIGURE:
determine the following. a) Find Pole zero plot using zplane command.
b) Find poles and zeros using both roots and tf2zp commands.
% X(z)=1+3z^-1-8z-2/(1-13/9z^-1+4z-2);
num=[1,3,-8];
den=[1,13/9,4];
zplane(num,den)
numr= roots(num);
denr= roots(den);
[z,p,k]=tf2zp(num,den)
FIGURE: