File: cls2dls.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 (31 lines) | stat: -rw-r--r-- 813 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

cls2dls(1)                     Scilab Function                     cls2dls(1)
NAME
  cls2dls - bilinear transform

CALLING SEQUENCE
  [sl1]=cls2dls(sl,T [,fp])

PARAMETERS

  sl,sl1
       : linear systems (syslin lists)

  T    : real number, the sampling period

  fp   : prevarping frequency in hertz

DESCRIPTION
  given sl=[A,B,C,D] (syslin list),a continuous time system cls2dls returns
  the sampled system obtained by the bilinear transform s=(2/T)*(z-1)/(z+1).

EXAMPLE
  s=poly(0,'s');z=poly(0,'z');
  sl=syslin('c',(s+1)/(s^2-5*s+2));  //Continuous-time system in transfer form
  slss=tf2ss(sl);  //Now in state-space form
  sl1=cls2dls(slss,0.2);  //sl1= output of cls2dls
  sl1t=ss2tf(sl1) // Converts in transfer form
  sl2=horner(sl,(2/0.2)*(z-1)/(z+1))   //Compare sl2 and sl1

SEE ALSO
  horner