Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: English - Français - Português - 日本語 -
Справка Scilab >> Polynomials > denom

denom

denominator (obsolete)

Syntax

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)

See also

  • numer — numerator (obsolete)

History

VersionDescription
6.0.2 denom() is declared obsolete. The rational attribute .den must be used instead.
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Mon Feb 12 20:08:36 CET 2018