<< nanmin 6-0 strcmpi >>
removed >> removed > 6-0 > numer

numer

numerator

Syntax

num = numer(R)

Arguments

R

rational or polynomial or constant matrix.

num

polynomial matrix

Description

Utility function. num = numer(R) returns the numerator num of a rational function matrix R (R may be also a constant or polynomial matrix). numer(R) is equivalent to R(2), R('num') or R.num

Examples

h = (1+2*%s) / poly(1:4,'s','c');
denom(h)
numer(h)

s = poly(0,"s");
p = 1 + s + 2*s^2;
denom(p) // Should return 1
numer(p)

See also

History

VersionDescription
6.0.1 numer() is declared obsolete. The rational attribute .num must be used instead.
6.1.0 numer() is no longer available.

<< nanmin 6-0 strcmpi >>