~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/robust/sensi.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
sensi            Scilab Group            Scilab Function              sensi
2
 
NAME
3
 
   sensi - sensitivity functions
4
 
  
5
 
CALLING SEQUENCE
6
 
 [Se,Re,Te]=sensi(G,K)
7
 
 [Si,Ri,Ti]=sensi(G,K,flag)
8
 
PARAMETERS
9
 
 G          : standard plant (syslin list)
10
 
            
11
 
 K          : compensator (syslin list)
12
 
            
13
 
 flag       : character string 'o' (default value) or 'i'
14
 
            
15
 
 Se         : output sensitivity function (I+G*K)^-1
16
 
            
17
 
 Re         : K*Se
18
 
            
19
 
 Te         : G*K*Se (output complementary sensitivity function)
20
 
            
21
 
DESCRIPTION
22
 
   sensi computes sensitivity functions. If G and K are given in state-space
23
 
  form, the systems returned are generically minimal.  Calculation is made
24
 
  by lft, e.g.,  Se can be given by the commands   P = augment(G,'S'),
25
 
  Se=lft(P,K). If flag = 'i', [Si,Ri,Ti]=sensi(G,K,'i') returns the input
26
 
  sensitivity functions.
27
 
  
28
 
 [Se;Re;Te]= [inv(eye()+G*K);K*inv(eye()+G*K);G*K*inv(eye()+G*K)];
29
 
 [Si;Ri;Ti]= [inv(eye()+K*G);G*inv(eye()+K*G);K*G*inv(eye()+K*G)];
30
 
EXAMPLE
31
 
 G=ssrand(1,1,3);K=ssrand(1,1,3);
32
 
 [Se,Re,Te]=sensi(G,K);
33
 
 Se1=inv(eye()+G*K);  //Other way to compute
34
 
 ss2tf(Se)    //Se seen in transfer form
35
 
 ss2tf(Se1)
36
 
 ss2tf(Te)
37
 
 ss2tf(G*K*Se1)
38
 
 [Si,Ri,Ti]=sensi(G,K,'i');
39
 
 w1=[ss2tf(Si);ss2tf(Ri);ss2tf(Ti)]
40
 
 w2=[ss2tf(inv(eye()+K*G));ss2tf(G*inv(eye()+K*G));ss2tf(K*G*inv(eye()+K*G))];
41
 
 clean(w1-w2)
42
 
SEE ALSO
43
 
   augment, lft, h_cl  
44