Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Change language to: Français - Português - 日本語 - Русский
Scilab Help >> Data Structures > rlist

# rlist

Scilab rational fraction function definition

### Syntax

```[r] = rlist()
[r] = rlist(N, D [,dom])```

### Arguments

N,D

polynomial martices.

dom

character string, or `[]` or a scalar.

r

tlist ("r" list) representing the rational fraction.

### Description

`rlist(N, D, dom)` is a shortcut to `tlist(['r','num','den','dt'], N, D, dom)`.

To correspond to the domain time of a linear system, `dom` must be equal to `'c'`,`'d'`, `[]` or a scalar. One the one hand, to be similar to functions as syslin, and on the other, to use some functions as tf2ss, it is necessary that `dom` is equal to these values.

### Examples

```s=poly(0,'s');
W=[1/s,1/(s+1)]
W'*W
Num=[s,s+2;1,s];
Den=[s*s,s;s,s*s];
rlist(Num,Den,[])

H1=(1+2*s)/s^2;
S1bis=syslin('c',H1)
r=rlist(H1.num, H1.den, 'c')
r == S1bis```

• tlist — Scilab object and typed list definition.
• syslin — linear system definition
• rational — rational fractions
• tf2ss — transfer to state-space