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

« back to all changes in this revision

Viewing changes to man/control/abcd.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
 
abcd             Scilab Group             Scilab Function              abcd
2
 
NAME
3
 
   abcd - state-space matrices
4
 
  
5
 
CALLING SEQUENCE
6
 
 [A,B,C,D]=abcd(sl)
7
 
PARAMETERS
8
 
 sl       : linear system (syslin list) in state-space or transfer form
9
 
          
10
 
 A,B,C,D  : real matrices of appropriate dimensions
11
 
          
12
 
DESCRIPTION
13
 
   returns the A,B,C,D  matrices from a linear system Sl.
14
 
  
15
 
   Utility function. For transfer matrices Sl is converted into state-space
16
 
  form by tf2ss.
17
 
  
18
 
   The matrices A,B,C,D are the elements 2 to 5 of the syslin list Sl, i.e.
19
 
  [A,B,C,D] = Sl(2:5) .
20
 
  
21
 
EXAMPLE
22
 
 A=diag([1,2,3]);B=[1;1;1];C=[2,2,2];
23
 
 sys=syslin('c',A,B,C);
24
 
 sys("A")
25
 
 sys("C")
26
 
 [A1,B1,C1,D1]=abcd(sys);
27
 
 A1
28
 
 systf=ss2tf(sys);
29
 
 [a,b,c,d]=abcd(systf)
30
 
 spec(a)
31
 
 c*b-C*B
32
 
 c*a*b-C*A*B
33
 
SEE ALSO
34
 
   syslin, ssrand 
35