File: sysfact.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 (41 lines) | stat: -rw-r--r-- 1,071 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
40
41
sysfact           Scilab Group           Scilab Function            sysfact
NAME
   sysfact- system factorization
  
CALLING SEQUENCE
 [S,Series]=sysfact(Sys,Gain,flag)
PARAMETERS
 Sys        : syslin list containing the matrices [A,B,C,D].
            
 Gain       : real matrix 
            
 flag       : string 'post' or 'pre'
            
 S          : syslin list
            
 Series     : syslin list
            
DESCRIPTION
   If flag equals 'post', sysfact returns in S the linear  system with ABCD
  matrices (A+B*Gain, B , Gain, I), and   Series,  a minimal realization of
  the series system Sys*S. If flag equals 'pre',  sysfact returns  the
  linear system (A+Gain*C, Gain , C, I) and Series, a minimal realization
  of the  series system S*Sys.
  
AUTHOR
   F.D.
  
EXAMPLE
 //Kalman filter
 Sys=ssrand(3,2,4);Sys('D')=rand(3,2);
 S=sysfact(Sys,lqr(Sys),'post');
 ww=minss(Sys*S);
 ss2tf(gtild(ww)*ww),Sys('D')'*Sys('D')
 //Kernel
 Sys=ssrand(2,3,4);
 [X,d,F,U,k,Z]=abinv(Sys);
 ss2tf(Sys*Z)
 ss2tf(Sys*sysfact(Sys,F,'post')*U)
SEE ALSO
   lqr, lqe