1 Example 2.6 OGATA 4edition( Laplace transform, partial fractions)
We will expand into partial-fractions through Scilab the transfer function:
Program in Scilabs=%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 Scilabg2=0; for k=1:size(se), g2=g2+se(k), end;