Program in Scilab
s=%s
num=s^5+8*s^4+23*s^3+35*s^2+28*s+3;
den=s^3+6*s^2+8*s;
g=syslin('c',num/den);
gf=tf2ss(g);
se=pfss(gf);
for k=1:size(se),
df(k)=clean(se(k)),
end;
Solution:
df =
df(1)
0.375
-----
s
df(2)
0.375
-----
4 + s
df(3)
0.25
----
2 + s
df(4)
2
3 + 2s + s
|