padecoef

Computes the Pade approximation of time delays.

Syntax

[NUM, DEN] = padecoef(T, N)

[NUM, DEN] = padecoef(T)

Inputs

T
A positive scalar.
N
A positive scalar. Default: N = 1).

Outputs

NUM
The numerator coefficient vector.
DEN
A denominator coefficient vector.

Examples

Pade approximation:
[num, den] = padecoef(1)
num = [Matrix] 1 x 2
-1  2
den = [Matrix] 1 x 2
1  2
Pade approximation of the second order:
[num, den] = padecoef(3, 2)
num = [Matrix] 1 x 3
1.00000  -2.00000  1.33333
den = [Matrix] 1 x 3
1.00000  2.00000  1.33333

Comments

[NUM, DEN] = padecoef(T, N) computes the Pade approximation of time delays.