Skip to content

padecoef

polynomial · scripts/polynomial/padecoef.m

[NUM, DEN] = padecoef (T)
[NUM, DEN] = padecoef (T, N)  --  Pade approximation of a time delay.

Coefficients (highest power of s first) of the order N (default 1) Pade
approximant NUM(s)/DEN(s) of exp (-s*T).  The coefficient of s^k in DEN is
(2N-k)! / (k! (N-k)!) * T^k and NUM(s) = DEN(-s).