Matlab_Talk.doc

advertisement
<MakerFile 5.0Y>
Aa•ÿ
e
d
H
H
$
d
6
€
ø
ø
ø
•ÿ
ø
•ÿ
•ÿ
•ÿ
€
€
6
6
6
ÌÌ
ÿö
•
•ÿ •ÿ •ÿ
ÿ
Footnote
TableFootnote
* à
Ñ
:;,.É!?
*
`
¶
d
…
* à
.
]
É
! /
TOC
.
/ - Ð
Heading
ÌÌ
ÌÌ
ff
@
Ý í Ý
EquationVariables
ý
•
ý
<$lastpagenum>
þ
<$monthname> <$daynum>,
<$year>
ÿ
"<$monthnum>/<$daynum>/<$shortyear>
;<$monthname> <$daynum>, <$year> <$hour>:<$minute00>
<$ampm>
"<$monthnum>/<$daynum>/<$shortyear>
<$monthname> <$daynum>, <$year>—
-
¯
"<$monthnum>/<$daynum>/<$shortyear>
<$fullfilename>
Aa
<$filename>d
<$paratext[Title]>
<$paratext[Heading]>
<$curpagenum>
<$marker1>
<$marker2>
(Continued)
Heading & Page
Ò<$paratext>Ó on page <$pagenum>
Page page <$pagenum>
Ò<$paratext>Ó on page <$pagenum>.o
See Heading & Page %See
no
Table & Page 7Table <$paranumonly>, Ò<$paratext>,Ó on
page <$pagenum>*
+ (Sheet <$tblsheetnum> of
<$tblsheetcount>)
•
•
”
• † † Q
A
Ž ‡ ‡ Q
A
• ˜ ˜ P
• ™ ™ P
‘ š š P
’ › › P
“ œ œ P
• • •
– ž ž
ñ
÷
ñ
ò
ó
ô
õ
ö
ø
ù
ú
û
ü
ý
þ
ÿ
€®
=
=
B
A
B
A
=
=
=
D
=
=
=
=
=
=
=
mo
,
mi
d
o
m
o
$
>/
ea
hn
ye
mo
<$
u
a
a
i
Aa
>d
te
H
]>
ag
€¯
€°
€±
€²
€³
€´
€µ
ۦ
€·
€¸
€¹
ۼ
€»
€¼
€½
€¾
•
= =
m - Ÿ 2
d
€¿ m Ñ
› †
d
ex
€À n Ñ
Ó
n
>
ge
™ ‡
Se
d
€Á o Ñ
Ta
p {
mo y>
^¨
€Â p Ò
q
+ H
“Ó 3Kº
^¨ H
R H
R
^¨
€Ã q Ò p r
A H
qùv ?ü^¨ H
z·¸ H
z·¸
Single Line
H
H
o
“Ó 3Kº
¡
o
Footnote
¡
'
´
H
qùv ?ü-
€Ä r Ó q t o
P
s s
•
•
^¨
€Æ t Õ r u o
€® H
§ùv D£f
^¨ H
°·¸ H
°·¸ ¡
Double Line
H
º
P
€Å s ×
Ô
Footnote
r
™
œ
H
§ùv D£f
€Ç u Ó t x o
/ €³
Double
Lineù =
¼
v w
Ô
Ô
Ô
€½
€Ê x Ó u z o
€È v Ö
=
Ô
Ô
w u
a
H
†
€É w Ö v
Ô
Ô
u
e
€
y y
Single
Line
Ô
Ô
H
Z
€Ë y Ö
´
x
Ô
€Ì z Ó x { o
€Á
TableFootnote E¸¾
^¨
€Í { Ó z
q
E¸¾ GX- RŸb
^¨ E¸¾ P o E¸¾ P o
TableFootnoteo 6
GX- RŸb
o
¡
6
¬
ø
€Î | Ó
m
6
6
¬
ø
^¨
Lin
ñ ™
P 6
ngle
†
6
¬
d
ø
€Ï } Ó
n
6
6
¬
ø
×
d
ò ™^¨
6
BUV ¬
€Ð ~ Ó
•
n
‡
¨
ªª
ó ›
6
6
BUV ¬
ÿÿ le
UU `
¬
€Ñ • Ó
ۂ
n
˜
ªª
È
Ö 6
ÿÿ
¬
™
ô ›
e 6
BUV ¬
€Ò € Ó
ªª
m
ªª
UU `
6
ªª
õ ›
6
BUV ¬
ÿÿ
UU d
Ó
¬
€Ó • Ó
y y
m
š
6
ªª
ö ›
a
¬
ÿÿ
UU d
z Ó x {
d
€Ô ‚ Ñ
›
€Á
– •
^¨
Window ^¨ ž
ñ ž
¸¾
ÂÞp
À
WÐz H
-
„Ðz æ
WÐz ~o¥ •-b
~o¥ •-b α ¥â£
ÂÞp
+ 8
À
€Õ ƒ Ô • „ ”
+ 8 •
SimuLink
€Ö „ Ù ƒ ˆ ”
α ¥â£
–
€ò … Ó
• Œ
ž
WÐz H
-
<c>Screen2.ras 0001FRAMSNRFUNIX
6
6
¬
ø
€ô † Ó š
m
l
| |
•
6
6
¬
ø
€õ ‡ Ó ˜
n
l
} }
Ž
¬
ï
O 8 6¤X
^¨
€Ø ˆ Ù „ ‰ ”
ï
O 8 6¤X
^¨ ï
WÐz ï
WÐz £
Menu
Bar
W
\Ðz H
€Ù ‰ Ù ˆ Š ”
W
\Ðz Ÿ
\Ðz ¦<¢ UqÒ ;Ã^
^¨
€Ú Š Ù ‰ œ ”
ª UU ¦<¢ UqÒ ;Ã^
^¨ ¦<¢ ^0 ¦<¢ ^0 £
Work
Area ;
í 8 [
Z
€Û ‹ Ú
”
6
ó
6
W
6
6
\Ðz H
¬
¬
ø
ø
Ó
;
í 8 [
Z
D
ªª
UU
œ
ø ™
vSimuLink is a program for simulating dynamic systems. It is an
extension to Matlab and adds many features specific to
ø ™Li •dynamic systems while retaining all of Matlabs general purpose
functionality. This is a graphical representation of the system
• $
ø ™o¥ wwe are going to build using simulink. Once you have completed
assembling the above diagram, try double clicking on the
2
ø ™
}objects to change the settings and adjust the final power usage.
The Toast Darkness is the best object since it controls the
@
@
ø ™
"amount of time the toaster is on.
d
€Ü Œ Ñ
Ðz
… •
Ðz ?
c
Ðz ?
R=P h
c
R=P h
K
€ó • Ó
z
ƒ ”
<c>Screen3.ras 0001FRAMSNRFUNIX
´Ë •¾B H
$
€Þ Ž Ù • • Œ
€Û
Ú ´Ë ³¾B K´Ë •¾B
´Ë •¾B H
$
%íÈ ÂÞp
À
€ß • Ô … Ž Œ
%íÈ ÂÞp
À
6
6
•
SimuLink Window™
T´Ë ‡
6¤X
^¨
€à • Ù Ž ‘ Œ
m
s T´Ë ‡
6¤X
^¨ T´Ë •¾B T´Ë •¾B £
Menu Barma •´Ë ¾B 6
?
€á ‘ Ù • ’ Œ
i dy •´Ë ¾B 6
¾B ·´Ë ^¾B À´Ë V
L¦^
^¨
€â ’ Ù ‘ • Œ
gr À´Ë V
L¦^
^¨ À´Ë ^¾B À´Ë ^¾B £
Block Library c
ƒ
v
Æ
€ã “ Ú
Œ
?
le
ta •´Ë -
i
.
c
ƒ
v
gram, tr
Æ
•
Š
d
in
`
ù ™
ø 4To access the tutorial open a UNIX window and enter
na
`
ú ™ T
t $
`
û ¤es <cp /dept/core-eng/preface/96/matlab/Tutorial.m ~/Tutorial.m
f 2
`
ü ™s
@
`
ý ™
_if you do not have Matlab running, select Matlab from the command
panel and enter the command
N
`
þ ™=P
\
`
ÿ ™
>>
¤ Tutorial
j
`
™
x
™
’You should see the above screen. From the
œ File ™ menu select
œ New ™ , this will create a blank work space. This is where we will
create †
@
™ W our simulation system.
d
€ä ” Ñ
¨
´Ë
• œ
y
´Ë ,GÈ ?
¾¸8 _[ø
ma
K
´Ë ,GÈ ?
Ë
¾¸8 _[ø
€ï • Ó ž
‚
<c>Screen1.ras 0001FRAMSNRFUNIX
Û
ž ‚
br ê
IoX
À ê
+ 8 ê
+ 8 •
Matlab 6
¹
š
‡
€æ — Ú
‚
ê
IoX
À
UNIX Window Running
€å –
r
6
¹
š
‡
(
ess the
ž
a
™
‰Select Matlab from the RCS applications menu. This will create an
interactive session with Matlab and from here we will run the SimuLink
@
™o
tutorial.
$
`
™t
l 6
BUV ¬
€ö ˜ Ó ™ ‡ n
m d 6
BUV ¬
l
~ ~
•
ria 6
¬
€÷ ™ Ó
˜ n
6
¬
l
• •
•
se 6
BUV ¬
€ø š Ó › † m
w k 6
BUV ¬
l
€ €
‘
si 6
¬
€ù › Ó
š m
ä
Ñ 6
¬
l
• •
’
¾¸8 ;
í 8 [
Z
€ú œ Ú Š
”
¸8 ;
í 8 [
Z
l
‹ ‹
“
c
ƒ
v
Æ
€û • Ú ’
Œ
c
ƒ
v
Æ
l
“ “
•
nin 6
¹
š
‡
€ü ž Ú –
• ‚
6
¹
š
‡
l
—
—
–
he
d
m
Left Se
d
n pp
Right
d
o te
Referenceo
d
‚
we
ru
d
Œ
ۆ
o
d
”
5 E C
5
UV
æf
™
…
æf
Body
™
.
6
…
æf
CellBody
™
.
7
CellHeading
…
.
æf
…
™
8
Footnote
.
æf
™
9
T
…
Heading
æf
TableFootnote
…
.
æf
Body
™
.
:
™
;
T
…
TableTitle
T:Table <n+>:
.
æf
™
<
…
P
Title
æf
™
Body
= ™
.
…
æf
Body
™
.
> ™
CellHeading
…
.
æf
™
? ™
…
æf
CellBody
™
.
@ œ T
…
TableTitle
T:Table <n+>:
.
À
@
A ›
…
Header
V
À
it ¬
@
B ›
…
Footer
l
.
tl V
¬
.
æf
™
D ¥
…
™ © š
Body
.
úÚÜ ™
úÚÜ ›
…
…
) ÕÞ œ
…
€
) ÕÞ •
ž
…
…
Emphasis
Subscript
Superscriptœ
Ÿ
…
…
ž [ ¡
…
€
ariables
¢
EquationV
ž [ £
…
ø` f ¤
…
TypeIn
ø` f ¥
…
Ó
ÿ3`
Ñ
…
¦
…
…
Ò
€
Ô
TypeIn Ñ á Ø
…
…
™
Z
€
ÿÿØ;
×
Õ
…
…
¥
Ö
Ù
…
…
Z
Ú
…
Z
Û
…
Z ©
b
…
Medium
d
…
Thin
a
€
q
f
c
Thick
Å
Õ
…
€
@
Å
a
Double
e
… Ú•Ü
…
Thin
Very
Æ
a
a
c @ … … …
> ? >
H
Format A
a
> ? >
a
a
a
a
a
a
H
H
> ? >
> ? >
H
> ? >
H
Ç
a
a
b @ … … …
> ? >
H
)
9
)
* ‡
…
‡
Ñ
> ? >
Comment
d
Black
Red
d
‰ … Blue
‹ ™ Magenta
Œ
Yellow
Times-Romanq
Times-Bold
H
H
> ? >
a
> ? > e
Format B
b
a
H
a
a
> ? >
H
… • •
T! †
 ˆ
d
Ø; d
d
White
Green
d
Š
Cyan
d
d
d
A
d
Courier-Bold
Helvetica-Bold
Regularh
Bold
Courier…
Timesb
Regular
Regular
Italic
î#‘ËM¨ Ë =
8“,
Helvetica
Ï&â(p3U±ñŒA•¿ ~9
Y¥àÄ ìI½Ð0+ÿF«3ѦŒ2ß u›
Download