Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Partial fraction expansion

191 views
Skip to first unread message

Andreas Kochenburger

unread,
Aug 26, 1998, 3:00:00 AM8/26/98
to
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

Andreas Kochenburger

unread,
Aug 26, 1998, 3:00:00 AM8/26/98
to
Sorry :-)
I just found pfss() and it worked. Great!

ahmed...@gmail.com

unread,
Oct 21, 2013, 2:56:29 PM10/21/13
to
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)

felipe...@gmail.com

unread,
Oct 7, 2017, 2:22:34 PM10/7/17
to
Em quarta-feira, 26 de agosto de 1998 04:00:00 UTC-3, Andreas Kochenburger escreveu:
> 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

https://eletricacomscilab.blogspot.com.br/2017/09/fracoes-parciais.html
0 new messages