File: ctr_gram.cat

package info (click to toggle)
scilab 2.6-4
  • links: PTS
  • area: non-free
  • in suites: woody
  • size: 54,632 kB
  • ctags: 40,267
  • sloc: ansic: 267,851; fortran: 166,549; sh: 10,005; makefile: 4,119; tcl: 1,070; cpp: 233; csh: 143; asm: 135; perl: 130; java: 39
file content (36 lines) | stat: -rw-r--r-- 1,143 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
ctr_gram          Scilab Group          Scilab Function            ctr_gram
NAME
   ctr_gram - controllability gramian
  
CALLING SEQUENCE
 [Gc]=ctr_gram(A,B [,dom])
 [Gc]=ctr_gram(sl)
PARAMETERS
 A,B        : two real matrices of appropriate dimensions
            
 dom        : character string ('c' (default value) or 'd')
            
 sl         : linear system, syslin list
            
DESCRIPTION
   Controllability gramian of (A,B) or sl (a syslin  linear system).
  
   dom character string giving the time domain : "d" for a discrete time
  system and "c" for continuous time (default case).
  
                   /+inf                             ---+inf
                   [  At  ' A't                      \   k      k
              Gc = | e  BB e   dt               Gc =  > A BB' A'
                   ]                                 /
                  /0                                 ---0
EXAMPLE
 A=diag([-1,-2,-3]);B=rand(3,2);
 Wc=ctr_gram(A,B)
 U=rand(3,3);A1=U*A/U;B1=U*B;
 Wc1=ctr_gram(A1,B1)    //Not invariant!
SEE ALSO
   equil1, obs_gram, contr, cont_mat, cont_frm, contrss
  
AUTHOR
   S. Steer INRIA 1988