On Wednesday, August 26, 1998 2:00:00 AM UTC-5, Andreas Kochenburger wrote:
> This is certainly a newbie question, but I could not solve it with the
> Scilab manuals - and it has been a long time since my university years
> ;->
>
> How can I compute the partial fractions coefficients with Scilab?
> I.e. (s+5)/(s^2+3s+2) can be transformed into 4/(s+1)-3/(s+2). The
> roots() function gives me -1 and -2 correctly for the denominator. But
> how can I compute the 4 and -3?
>
> Andreas
>
> ++ If you prefer to reply by email, please replace
> ++ in the address: no -> khe, spam -> scn
to create a PFE in scilab I use the following scirpt and you can modify it based what you have
s = %s;
num =1;
den =(s^2+1) *(s^2+4);
tf=num/den;
pfe=pfss(tf)