rlist Scilab rational fraction function definition

## Syntax

                [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

## See also

- tlist
- syslin
- rational
- tf2ss

## History

6.1 rlist() removed.