File: des2tf.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 (40 lines) | stat: -rw-r--r-- 1,023 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

des2tf(1)                      Scilab Function                      des2tf(1)
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.