list(1)

NAME
"Scilab object: list" - list definition

CALLING SEQUENCE
list( a1,....an )

DESCRIPTION
Creates a list with elements ai's which are arbitrary Scilab objects (matrix, list,...)

list() is the empty list (0 element).

Operations on lists:

extraction
    : [x,y,z...]=l(v) where v is a vector of indices; [x,y,z]=l(:) extracts all the elements.

insertion
    : l(i)=a

deletion
    : l(i)=null() removes the i-th element of the list l.

Linear systems are represented by specific lists. e.g. a linear system [A,B,C,D] is represented by the list list('lss',A,B,C,D,x0,'c') and this specific list is created by the function syslin.

A rational matrix H is represented by the list H=list('r',Num,Den) where Num and Den are two polynomial matrices and a (e.g. continuous time) linear system with transfer matrix H is created by syslin('c',H).

EXAMPLE
x=list(1,2,3);
x(4)=10;

SEE ALSO
null, percent, syslin