In: Electrical Engineering
3. Use Matlab to find the partial fraction expansion of the functions below.
a) F(s)=16(s+2)/((s+4)(s2+6s+9))
show your Matlab commands and answers in the space below
b) F(s)=(s2+2s+2)/((s+1)2(s+4)2)
show your Matlab commands and answers in the space below
In matlab:
clear
b=[16 32];
a=[1 10 33 36];
[r,p,k]=residue(b,a)
r =
-32.0000
32.0000
-16.0000
p =
-4.0000
-3.0000
-3.0000
k =
[]
In matlab:
clear
b=[1 2 2];
a=[1 10 33 40 16];
[r,p,k]=residue(b,a)
r =
0.0741
1.1111
-0.0741
0.1111
p =
-4.0000
-4.0000
-1.0000
-1.0000
k =
[]