File: riccati.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 (30 lines) | stat: -rw-r--r-- 891 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
riccati           Scilab Group           Scilab Function            riccati
NAME
   riccati - Riccati equation
  
CALLING SEQUENCE
 X=riccati(A,B,C,dom,[typ])
 [X1,X2]=riccati(A,B,C,dom,[typ])
PARAMETERS
 A,B,C        : real matrices nxn, B and  C symetric.
              
 dom          : 'c' or 'd' for the time domain (continuous or discrete)
              
 typ          : string : 'eigen' for block diagonalization or schur' for 
              Schur method.
              
 X1,X2,X      : square real matrices (X2 invertible), X symmetric
              
DESCRIPTION
   X=riccati(A,B,C,dom,[typ]) solves the Riccati equation:
  
 A'*X+X*A-X*B*X+C=0 
   in continuous time case, or:
  
  A'*X*A-(A'*X*B1/(B2+B1'*X*B1))*(B1'*X*A)+C-X
    with B=B1/B2*B1' in the discrete time case. If called with two output
  arguments, riccati returns X1,X2 such that X=X1/X2.
  
SEE ALSO
   ric_desc