File: ctr_gram.cat

package info (click to toggle)
scilab 2.4-1
  • links: PTS
  • area: non-free
  • in suites: potato, slink
  • size: 55,196 kB
  • ctags: 38,019
  • sloc: ansic: 231,970; fortran: 148,976; tcl: 7,099; makefile: 4,585; sh: 2,978; csh: 154; cpp: 101; asm: 39; sed: 5
file content (39 lines) | stat: -rw-r--r-- 1,109 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
37
38
39

ctr_gram(1)                    Scilab Function                    ctr_gram(1)
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 sys-
  tem 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