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

« back to all changes in this revision

Viewing changes to man/control/ltitr.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
 
ltitr            Scilab Group            Scilab Function              ltitr
2
 
NAME
3
 
   ltitr - discrete time response (state space)
4
 
  
5
 
CALLING SEQUENCE
6
 
 [X]=ltitr(A,B,U,[x0]) 
7
 
 [xf,X]=ltitr(A,B,U,[x0])
8
 
PARAMETERS
9
 
 A,B        : real  matrices of appropriate dimensions
10
 
            
11
 
 U,X        : real  matrices 
12
 
            
13
 
 x0,xf      : real vectors (default value=0 for x0))         
14
 
            
15
 
DESCRIPTION
16
 
   calculates the time response of the discrete time system
17
 
  
18
 
          x[t+1] = Ax[t] + Bu[t].
19
 
   The inputs ui's are the columns of the U matrix
20
 
  
21
 
         U=[u0,u1,...,un];
22
 
   x0 is the vector of initial state (default value : 0) ;
23
 
  
24
 
   X is the matrix of outputs (same number of columns as U).
25
 
  
26
 
         X=[x0,x1,x2,...,xn] 
27
 
   xf is the vector of final state xf=X[n+1]
28
 
  
29
 
EXAMPLE
30
 
 A=eye(2,2);B=[1;1];
31
 
 x0=[-1;-2];
32
 
 u=[1,2,3,4,5];
33
 
 x=ltitr(A,B,u,x0)
34
 
 x1=A*x0+B*u(1)
35
 
 x2=A*x1+B*u(2)
36
 
 x3=A*x2+B*u(3) //....
37
 
SEE ALSO
38
 
   rtitr, flts 
39