Professional Documents
Culture Documents
ARIYADASA L.P.N.I
RU/E/2006/013
5/18/2009
EE 6319 CONTROL THEORY
DEPARTMENT OF ELECTRICAL AND INFORMATION ENGINEERING
COMPUTER ASSIGNMENT 01
Q1. (I) I write the Matlab m-file to find the zero and poles and also s-plane representation
z = -7
p=
-1.0000 + 1.0000i
-1.0000 - 1.0000i
k=3
Q1. (ii) The Matlab m-file to find the zero and poles and also s-plane representation
>> q12
z = -2
p=
2.0000
-3.0000
-1.0000
k=5
Q1. (iii) The Matlab m-file to find the zero and poles and also s-plane representation
>> q13
z=
-5.0000 + 0.0000i
-5.0000 - 0.0000i
-3.0000
p=
-2.0000
0.0000 + 2.0000i
0.0000 - 2.0000i
-0.0000 + 2.0000i
-0.0000 - 2.0000i
k=2
Q2). (I) Matlab command for partial fraction expansion of transfer function
num = [2 5 3 6];
den = [1 6 11 6];
Q2). (ii) Matlab command for partial fraction expansion of transfer function
num = [2 4];
Q2). (iii) Matlab command for partial fraction expansion of transfer function
num = [3 2];
den = [1 4 20];