0% found this document useful (0 votes)
3 views

‏‏Control system Lab 2

Uploaded by

belal ma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views

‏‏Control system Lab 2

Uploaded by

belal ma
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

Control system 1 Lab2

Poles & Zeros for Transfer Function

Example 1: Obtain pole, zero & gain values of a transfer function


2
s +4 s+ 3
G(s) = ( s +5 ) (3 s2 +4 +7) . Also obtain pole zero plot.

clc
clear all
n = [1 4 3];
d= conv([1 5], [3 4 7]);
g = tf (n,d)
[z,p,k] = tf2zp(n,d)
Example 2: Write matlab code to obtain transfer function of a system from its pole
,zero, gain values. Assume pole locations are -2, 1, zero at -1 and gain is 7.

clc
clear all
p= [-2 1];
z= [-1];
k=7
[n,d]= zp2tf(z',p',k);
g=tf(n,d)

H.W

Obtain Pole, zero, gain values of the transfer functions given below.

1) G ( s )= s 2 +s +4
1

2) G ( s )= s 2 +9
5

You might also like