~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/control/cls2dls.cat

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
cls2dls           Scilab Group           Scilab Function            cls2dls
2
 
NAME
3
 
   cls2dls - bilinear transform
4
 
  
5
 
CALLING SEQUENCE
6
 
 [sl1]=cls2dls(sl,T [,fp])
7
 
PARAMETERS
8
 
 sl,sl1
9
 
       : linear systems (syslin lists)
10
 
      
11
 
 T    : real number, the sampling period
12
 
      
13
 
 fp   : prevarping frequency in hertz
14
 
      
15
 
DESCRIPTION
16
 
   given sl=[A,B,C,D] (syslin list),a continuous time system  cls2dls
17
 
  returns the sampled system obtained by the  bilinear transform
18
 
  s=(2/T)*(z-1)/(z+1).
19
 
  
20
 
EXAMPLE
21
 
 s=poly(0,'s');z=poly(0,'z');
22
 
 sl=syslin('c',(s+1)/(s^2-5*s+2));  //Continuous-time system in transfer form
23
 
 slss=tf2ss(sl);  //Now in state-space form
24
 
 sl1=cls2dls(slss,0.2);  //sl1= output of cls2dls
25
 
 sl1t=ss2tf(sl1) // Converts in transfer form
26
 
 sl2=horner(sl,(2/0.2)*(z-1)/(z+1))   //Compare sl2 and sl1
27
 
SEE ALSO
28
 
   horner  
29