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

« back to all changes in this revision

Viewing changes to man/control/feedback.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 abcd 1 "April 1993" "Scilab Group" "Scilab Function"
2
 
.so ../sci.an 
3
 
.SH NAME
4
 
feedback - feedback operation
5
 
.SH CALLING SEQUENCE
6
 
.nf
7
 
Sl=Sl1/.Sl2
8
 
.fi
9
 
.SH PARAMETERS
10
 
.TP 8
11
 
Sl1,Sl2
12
 
: linear systems (\fVsyslin\fR list) in state-space or transfer form,
13
 
or ordinary gain matrices.
14
 
.TP
15
 
Sl
16
 
: linear system (\fVsyslin\fR list) in state-space or transfer form
17
 
.SH DESCRIPTION
18
 
The feedback operation is denoted by \fV /. \fR (slashdot).
19
 
This command returns \fVSl=Sl1*(I+Sl2*Sl1)^-1\fR, i.e the (negative) 
20
 
feedback of \fVSl1\fR and \fVSl2\fR. \fVSl\fR is the transfer
21
 
\fV v -> y \fR for \fV y = Sl1 u \fR, \fVu = v - Sl2 y\fR.
22
 
.LP
23
 
The result is the same as \fVSl=LFT([0,I;I,-Sl2],Sl1)\fR.
24
 
.LP
25
 
Caution: do not use with decimal point (e.g. \fV1/.1\fR is ambiguous!)
26
 
.SH EXAMPLE
27
 
.nf
28
 
S1=ssrand(2,2,3);S2=ssrand(2,2,2);
29
 
W=S1/.S2;
30
 
ss2tf(S1/.S2)
31
 
//Same operation by LFT:
32
 
ss2tf(lft([zeros(2,2),eye(2,2);eye(2,2),-S2],S1))
33
 
//Other approach: with constant feedback
34
 
BigS=sysdiag(S1,S2); F=[zeros(2,2),eye(2,2);-eye(2,2),zeros(2,2)];
35
 
Bigclosed=BigS/.F;
36
 
W1=Bigclosed(1:2,1:2);   //W1=W (in state-space).
37
 
ss2tf(W1)
38
 
//Inverting
39
 
ss2tf(S1*inv(eye()+S2*S1))
40
 
.fi
41
 
.SH SEE ALSO 
42
 
lft, sysdiag, augment, obscont
43
 
 
44
 
 
45
 
 
46