We will expand into partial-fractions through Scilab the transfer function:
Program in Scilab
s=%s;
num=2*s^3+5*s^2+3*s+6;
den=s^3+6*s^2+11*s+6;
g=syslin('c',num/den);
gf=tf2ss(g);
se=pfss(gf)
Solution:
se =
se(1)
- 6
-----
3 + s
se(2)
3
-----
1 + s
se(3)
- 4
-----
2 + s
se(4)
2.
|
|
|
The partial-fraction expansion we would:
If you want the equation of beginning, use these lines of code to Scilab
g2=0;
for k=1:size(se),
g2=g2+se(k),
end;