1
<?xml version="1.0" encoding="UTF-8"?>
3
* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
4
* Copyright (C) INRIA -
6
* This file must be used under the terms of the CeCILL.
7
* This source file is licensed as described in the file COPYING, which
8
* you should have received as part of this distribution. The terms
9
* are also available at
10
* http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt
13
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:lang="en" xml:id="des2ss">
15
<refname>des2ss</refname>
16
<refpurpose> descriptor to state-space</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>[Sl]=des2ss(A,B,C,D,E [,tol])
25
<title>Arguments</title>
28
<term>A,B,C,D,E</term>
30
<para>real matrices of appropriate dimensions</para>
43
<literal>syslin</literal> list
51
real parameter (threshold) (default value <literal>100*%eps</literal>).
58
<title>Description</title>
60
Descriptor to state-space transform.
63
<literal>Sl=des2ss(A,B,C,D,E)</literal> returns
64
a linear system <literal>Sl</literal> equivalent to the descriptor system
65
<literal>(E,A,B,C,D)</literal>.
68
For index one <literal>(E,A)</literal> pencil, explicit formula is used and
69
for higher index pencils <literal>rowshuff</literal> is used.
72
<literal>Sl=des2ss(Des)</literal> with <literal>Des=list('des',A,B,C,D,E)</literal> returns
73
a linear system <literal>Sl</literal> in state-space form with possibly
74
a polynomial <literal>D</literal> matrix.
77
A generalized Leverrier algorithm is used.
81
<title>Examples</title>
82
<programlisting role="example"><![CDATA[
83
s=poly(0,'s');G=[1/(s-1),s;1,2/s^3];
84
S1=tf2des(G);S2=tf2des(G,"withD");
85
W1=des2ss(S1);W2=des2ss(S2);
90
<refsection role="see also">
91
<title>See Also</title>
92
<simplelist type="inline">
94
<link linkend="des2tf">des2tf</link>
97
<link linkend="glever">glever</link>
100
<link linkend="rowshuff">rowshuff</link>