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="ss2tf">
15
<refname>ss2tf</refname>
16
<refpurpose> conversion from state-space to transfer function</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>[h]=ss2tf(sl)
21
[Ds,NUM,chi]=ss2tf(sl)
24
[Ds,NUM,chi]=ss2tf(sl,"b")
28
[Ds,NUM,chi]=ss2tf(sl,rmax)
33
<title>Arguments</title>
39
linear system (<literal>syslin</literal> list)
46
<para>transfer matrix</para>
52
<title>Description</title>
54
Called with three outputs <literal>[Ds,NUM,chi]=ss2tf(sl)</literal> returns
55
the numerator polynomial matrix <literal>NUM</literal>, the characteristic
56
polynomial <literal>chi</literal> and the polynomial part <literal>Ds</literal> separately i.e.:
58
<programlisting role=""><![CDATA[
65
One uses the characteristic polynomial and
66
<literal>det(A+Eij)=det(A)+C(i,j)</literal> where <literal>C</literal> is the adjugate
67
matrix of <literal>A</literal>.
70
With <literal>rmax</literal> or <literal>"b"</literal> argument uses a block diagonalization of
71
sl.A matrix and applies "Leverrier" algorithm on blocks.
72
If given, <literal>rmax</literal> controls the conditionning (see bdiag).
76
<title>Examples</title>
77
<programlisting role="example"><![CDATA[
79
h=[1,1/s;1/(s^2+1),s/(s^2-2)]
82
[Ds,NUM,chi]=ss2tf(sl)
85
<refsection role="see also">
86
<title>See Also</title>
87
<simplelist type="inline">
89
<link linkend="tf2ss">tf2ss</link>
92
<link linkend="syslin">syslin</link>
95
<link linkend="nlev">nlev</link>
98
<link linkend="glever">glever</link>