File: node40.html

package info (click to toggle)
rtlinux 3.1pre3-3
  • links: PTS
  • area: non-free
  • in suites: etch, etch-m68k
  • size: 4,896 kB
  • ctags: 4,228
  • sloc: ansic: 26,204; sh: 2,069; makefile: 1,414; perl: 855; tcl: 489; asm: 380; cpp: 42
file content (174 lines) | stat: -rw-r--r-- 5,409 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<!--Converted with LaTeX2HTML 2K.1beta (1.48)
original version by:  Nikos Drakos, CBLU, University of Leeds
* revised and updated by:  Marcus Hennecke, Ross Moore, Herb Swan
* with significant contributions from:
  Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
<HTML>
<HEAD>
<TITLE>State Space Example</TITLE>
<META NAME="description" CONTENT="State Space Example">
<META NAME="keywords" CONTENT="rtic">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="LaTeX2HTML v2K.1beta">
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">

<LINK REL="STYLESHEET" HREF="rtic.css">

<LINK REL="next" HREF="node41.html">
<LINK REL="previous" HREF="node39.html">
<LINK REL="up" HREF="node36.html">
<LINK REL="next" HREF="node41.html">
</HEAD>

<BODY bgcolor="white">
<!--Navigation Panel-->
<A NAME="tex2html562"
  HREF="node41.html">
<IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next"
 SRC="/usr/share/latex2html/icons/next.png"></A> 
<A NAME="tex2html560"
  HREF="node36.html">
<IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up"
 SRC="/usr/share/latex2html/icons/up.png"></A> 
<A NAME="tex2html554"
  HREF="node39.html">
<IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous"
 SRC="/usr/share/latex2html/icons/prev.png"></A>   
<BR>
<B> Next:</B> <A NAME="tex2html563"
  HREF="node41.html">State Space Example</A>
<B> Up:</B> <A NAME="tex2html561"
  HREF="node36.html">Examples</A>
<B> Previous:</B> <A NAME="tex2html555"
  HREF="node39.html">Difficult Example</A>
<BR>
<BR>
<!--End of Navigation Panel-->

<H2><A NAME="SECTION00334000000000000000">
State Space Example</A>
</H2>
This one allows the user to update every single parameter inside a set
of fifth order state space matrices having two inputs and one output.

<P>

<P></P>
<DIV ALIGN="CENTER"><A NAME="1623"></A>
<TABLE>
<CAPTION ALIGN="BOTTOM"><STRONG>Figure 3.4:</STRONG>
State Space Example. This example uses both rows and columns
randomly for different effects</CAPTION>
<TR><TD>
<DIV ALIGN="CENTER">
	
		<IMG
 WIDTH="555" HEIGHT="196" ALIGN="BOTTOM" BORDER="0"
 SRC="img50.png"
 ALT="\includegraphics[width=\textwidth]{Figures/state_space.eps}">

</DIV></TD></TR>
</TABLE>
</DIV><P></P>

<PRE>
# More complicated project. This one uses a combination of columns
# and rows to achieve a different effect

# first the required information
inputs 2                  # two inputs
outputs 1                 # one output
data_size 3               # transfer all inputs and outputs

# then let's build our window
start_col n
      label  'A Matrix'
      start_row h
        spin_with_label 'A(1.1)',-100,100,10,0 
        spin_with_label 'A(1.2)',-200,200,20,1 
        spin_with_label 'A(1.3)',-200,200,20,2 
        spin_with_label 'A(1.4)',-200,200,20,3 
        spin_with_label 'A(1.5)',-200,200,20,4 
      end_row
      start_row h
        spin_with_label 'A(2.1)',-300,300,30,5 
        spin_with_label 'A(2.2)', 0, 20, 3, 6 
        spin_with_label 'A(2.3)', 0, 20, 3, 7  
        spin_with_label 'A(2.4)',-200,200,20,8 
        spin_with_label 'A(2.5)',-200,200,20,9 
      end_row
      start_row h
        spin_with_label 'A(3.1)',-300,300,30,10 
        spin_with_label 'A(3.2)', 0, 20, 3, 11  
        spin_with_label 'A(3.3)', 0, 20, 3, 12  
        spin_with_label 'A(3.4)',-200,200,20,13 
        spin_with_label 'A(3.5)',-200,200,20,14 
      end_row
      start_row h
        spin_with_label 'A(4.1)',-300,300,30,15 
        spin_with_label 'A(4.2)', 0, 20, 3, 16  
        spin_with_label 'A(4.3)', 0, 20, 3, 17  
        spin_with_label 'A(4.4)',-200,200,20,18 
        spin_with_label 'A(4.5)',-200,200,20,19 
      end_row
      start_row h
        spin_with_label 'A(5.1)',-300,300,30,20 
        spin_with_label 'A(5.2)', 0, 20, 3, 21  
        spin_with_label 'A(5.3)', 0, 20, 3, 22  
        spin_with_label 'A(5.4)',-200,200,20,23 
        spin_with_label 'A(5.5)',-200,200,20,24 
      end_row
      h_separator
      label 'C Matrix'
      start_row h
        spin_with_label 'C(1.1)',-300,300,30,25 
        spin_with_label 'C(1.2)', 0, 20, 3, 26 
        spin_with_label 'C(1.3)', 0, 20, 3, 27 
        spin_with_label 'C(1.4)',-200,200,20,28 
        spin_with_label 'C(1.5)',-200,200,20,29 
      end_row
end_col

v_separator

start_col n
      label  'B Matrix'
      start_row n
        start_col h
          spin_with_label 'B(1.1)',-100,100,10,30  
          spin_with_label 'B(2.1)',-200,200,20,31  
          spin_with_label 'B(3.1)',0,2000,100,32   
          spin_with_label 'B(4.1)',-200,200,20,33  
          spin_with_label 'B(5.1)',0,2000,100,34   
        end_col
        start_col h
          spin_with_label 'B(1.2)',-100,100,10,35  
          spin_with_label 'B(2.2)',-200,200,20,36  
          spin_with_label 'B(3.2)',0,2000,100,37   
          spin_with_label 'B(4.2)',-200,200,20,38  
          spin_with_label 'B(5.2)',0,2000,100,39   
        end_col
      end_row
      h_separator
      label 'D Matrix'
      start_row h
          spin_with_label 'D(1.1)',-100,100,10,40  
          spin_with_label 'D(1.2)',-100,100,10,41  
      end_row
     
end_col
</PRE>

<P>
<BR><HR>
<ADDRESS>
Michael Barabanov
2001-06-19
</ADDRESS>
</BODY>
</HTML>