13
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="sensi">
15
<refname>sensi</refname>
16
<refpurpose> sensitivity functions</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>[Se,Re,Te]=sensi(G,K)
21
[Si,Ri,Ti]=sensi(G,K,flag)
25
<title>Arguments</title>
31
standard plant (<literal>syslin</literal> list)
39
compensator (<literal>syslin</literal> list)
47
character string <literal>'o'</literal> (default value) or <literal>'i'</literal>
55
output sensitivity function <literal>(I+G*K)^-1</literal>
63
<literal>K*Se</literal>
71
<literal>G*K*Se</literal> (output complementary sensitivity function)
78
<title>Description</title>
80
<literal>sensi</literal> computes sensitivity functions. If <literal>G</literal> and <literal>K</literal> are
81
given in state-space form, the systems returned are generically minimal.
82
Calculation is made by <literal>lft</literal>, e.g.,
83
<literal>Se</literal> can be given by the commands
84
<literal> P = augment(G,'S')</literal>, <literal>Se=lft(P,K)</literal>.
85
If <literal>flag</literal> = <literal>'i'</literal>, <literal>[Si,Ri,Ti]=sensi(G,K,'i')</literal>
86
returns the input sensitivity functions.
88
<programlisting role=""><![CDATA[
15
<refname>sensi</refname>
16
<refpurpose> sensitivity functions</refpurpose>
19
<title>Calling Sequence</title>
20
<synopsis>[Se,Re,Te]=sensi(G,K)
21
[Si,Ri,Ti]=sensi(G,K,flag)
25
<title>Arguments</title>
31
standard plant (<literal>syslin</literal> list)
39
compensator (<literal>syslin</literal> list)
47
character string <literal>'o'</literal> (default value) or <literal>'i'</literal>
55
output sensitivity function <literal>(I+G*K)^-1</literal>
63
<literal>K*Se</literal>
71
<literal>G*K*Se</literal> (output complementary sensitivity function)
78
<title>Description</title>
80
<literal>sensi</literal> computes sensitivity functions. If <literal>G</literal> and <literal>K</literal> are
81
given in state-space form, the systems returned are generically minimal.
82
Calculation is made by <literal>lft</literal>, e.g.,
83
<literal>Se</literal> can be given by the commands
84
<literal> P = augment(G,'S')</literal>, <literal>Se=lft(P,K)</literal>.
85
If <literal>flag</literal> = <literal>'i'</literal>, <literal>[Si,Ri,Ti]=sensi(G,K,'i')</literal>
86
returns the input sensitivity functions.
88
<programlisting role=""><![CDATA[
89
89
[Se;Re;Te]= [inv(eye()+G*K);K*inv(eye()+G*K);G*K*inv(eye()+G*K)];
90
90
[Si;Ri;Ti]= [inv(eye()+K*G);G*inv(eye()+K*G);K*G*inv(eye()+K*G)];
91
91
]]></programlisting>
94
<title>Examples</title>
95
<programlisting role="example"><![CDATA[
94
<title>Examples</title>
95
<programlisting role="example"><![CDATA[
96
96
G=ssrand(1,1,3);K=ssrand(1,1,3);
97
97
[Se,Re,Te]=sensi(G,K);
98
98
Se1=inv(eye()+G*K); //Other way to compute
105
105
w2=[ss2tf(inv(eye()+K*G));ss2tf(G*inv(eye()+K*G));ss2tf(K*G*inv(eye()+K*G))];
107
107
]]></programlisting>
109
<refsection role="see also">
110
<title>See Also</title>
111
<simplelist type="inline">
113
<link linkend="augment">augment</link>
116
<link linkend="lft">lft</link>
119
<link linkend="h_cl">h_cl</link>
109
<refsection role="see also">
110
<title>See Also</title>
111
<simplelist type="inline">
113
<link linkend="augment">augment</link>
116
<link linkend="lft">lft</link>
119
<link linkend="h_cl">h_cl</link>