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

« back to all changes in this revision

Viewing changes to man/control/imrep2ss.man

  • 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
 
.TH imrep2ss 4 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an 
3
 
.SH NAME
4
 
imrep2ss - state-space realization of an impulse response 
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
[sl]=imrep2ss(v [,deg])
8
 
.fi
9
 
.SH PARAMETERS
10
 
.TP 10
11
 
12
 
: vector coefficients of impulse response, \fVv(:,k)\fR is the kth sample
13
 
.TP
14
 
deg
15
 
: integer (order required)
16
 
.TP
17
 
sl
18
 
: \fVsyslin\fR list
19
 
.SH DESCRIPTION
20
 
Impulse response to linear system conversion (one input).
21
 
\fVv\fR must have an even number of columns.
22
 
.SH EXAMPLE
23
 
.nf
24
 
s=poly(0,'s');
25
 
H=[1/(s+0.5);2/(s-0.4)]   //strictly proper
26
 
np=20;w=ldiv(H('num'),H('den'),np);
27
 
rep=[w(1:np)';w(np+1:2*np)'];   //The impulse response
28
 
H1=ss2tf(imrep2ss(rep))
29
 
z=poly(0,'z');
30
 
H=(2*z^2-3.4*z+1.5)/(z^2-1.6*z+0.8)     //Proper transfer function
31
 
u=zeros(1,20);u(1)=1;
32
 
rep=rtitr(H('num'),H('den'),u);   //Impulse rep. 
33
 
//   <=> rep=ldiv(H('num'),H('den'),20)
34
 
w=z*imrep2ss(rep)   //Realization with shifted impulse response 
35
 
// i.e strictly proper to proper
36
 
H2=ss2tf(w);
37
 
.fi
38
 
.SH SEE ALSO
39
 
frep2tf, arl2, time_id, armax, markp2ss, ldiv
40
 
 
41
 
 
42