File: des2tf.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 (39 lines) | stat: -rw-r--r-- 1,085 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
des2tf            Scilab Group            Scilab Function            des2tf
NAME
   des2tf - descriptor to transfer function conversion
  
CALLING SEQUENCE
 [S]=des2tf(sl)
 [Bfs,Bis,chis]=des2tf(sl)
PARAMETERS
 sl           : list (linear system in descriptor form)
              
 Bfs, Bis     : two polynomial matrices
              
 chis         : polynomial
              
 S            : rational matrix
              
DESCRIPTION
   Given the linear system in descriptor form i.e. Sl=list('des',A,B,C,D,E),
  des2tf converts sl into its transfer function representation: 
  
 S=C*(s*E-A)^(-1)*B+D
   Called with 3 outputs arguments des2tf returns Bfs and Bis two polynomial
  matrices, and chis polynomial such that:
  
 S=Bfs/chis - Bis
   chis is the determinant of (s*E-A) (up to a xcative constant);
  
EXAMPLE
 s=poly(0,'s');
 G=[1/(s+1),s;1+s^2,3*s^3];
 Descrip=tf2des(G);Tf1=des2tf(Descrip)
 Descrip2=tf2des(G,"withD");Tf2=des2tf(Descrip2)
 [A,B,C,D,E]=Descrip2(2:6);Tf3=C*inv(s*E-A)*B+D
SEE ALSO
   glever, pol2des, tf2des, ss2tf, des2ss, rowshuff
  
AUTHOR
   F. D.