Lab Presentation p1
Lab Presentation p1
LAB # 1
Prepared By :
Iqbal Azeem
NED University of Engineering & Technology
r=
0.5000 - 0.2887i
0.5000 + 0.2887i
p=
-0.5000 + 0.8660i
-0.5000 - 0.8660i
k=
[]
1.3. Find the location of the zeros, poles and plot the pole-zero
map of the system, whose transfer function given by;
p=
0
-4.5198
-0.7401 + 2.1822i
-0.7401 - 2.1822i
k=
2
The result specifies that the zeros are at s=-3 and -1, the poles are at
s=0, -4.5198, -0.7401 + 2.1822i and -0.7401 - 2.1822i and the gain is k=2.
o Pole-zero map for this function can be obtained by using the following command.
pzmap(num,den)
1.4) Verify the results obtained for example 1.3 by obtaining the transfer
function from the calculated values of zeros, poles and gain.
close all;
clear all;
clc;
z=[-3; -1];
p=[0; -4.5198; -0.7401 + 2.1822i; -0.7401 - 2.1822i];
k=2;
[n,d]=zp2tf(z,p,k);
printsys(n,d,'s')
% prints the transfer function as a ratio of two
polynomials in the transform variable 's'.
fs=1/(s+4);
ft=ilaplace(fs)