Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Change language to: English - Français - Português - 日本語 -

Please note that the recommended version of Scilab is 6.0.2. This page might be outdated.
See the recommended documentation of this function

Справка Scilab >> Polynomials > denom

denom

denominator (obsolete)

den=denom(r)

Arguments

r

rational or polynomial or constant matrix.

den

polynomial matrix

Description This function is obsolete and will be removed from Scilab 6.1.0. Please use the .den rational attribute instead.

den=denom(r) returns the denominator of a rational matrix.

Since rationals are internally represented as r=list(['r','num','den','dt'],num,den,[]), denom(r) is the same as r(3), r('den') or r.den

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)

• numer — numerator (obsolete)

History

 Version Description 6.0.2 denom() is declared obsolete. The rational attribute .den must be used instead.