Scilab 5.4.0

Please note that the recommended version of Scilab is 2024.1.0. This page might be outdated.

See the recommended documentation of this function

# rational

Scilab objects, rational in Scilab

### Description

A rational `r`

is a quotient of two polynomials `r=num/den`

.
The internal representation of a rational is a list.
`r=tlist('['r','num','den','dt'],num,den,[])`

is the same as `r=num/den`

.
A rational matrix can be defined with the usual syntax
e.g. `[r11,r12;r21,r22]`

is a 2x2 matrix where `rij`

are
1x1 rationals.
A rational matrix can also be defined as above as a list
`rlist(num,den,[])`

with `num`

and `den`

polynomial matrices.

### Examples

### See Also

Report an issue | ||

<< poly | Polynomials | residu >> |