... and Commands
Symbol
MATLAB
Statement
+
atbtc
-
a-b-c
*
and
.*
a*b*c and
a.
*b.
*c
/
and
./
a/b
anda./b
\
and. \
b\a
(equivalent to a/b) and
b
.
\a
A
and
.A
aAb
anda.”b ... now that
MATLAB
has demonstration programs. One should use
Close
MATLAB
using the Exit
MATLAB
(Ctrl+Q) command in the
MATLAB
Command Window (File
menu).
MATLAB
Menu...
... double-clicking the
MATLAB
icon:
MATLAB
6 .5. lnk
The MATLAB Command and Workspace windows appear as shown in Figure 3.1.
Figure 3.1. MATLAB Command and Workspace windows
The line
Thus,
aa=2,
and Figure ...
3:
MATLAB
and Problem Solving
57
Chapter
3:
MATLAB
and Problem
Solving
42
Chapter
3
MATLAB
and Problem Solving
3.1.
Starting
MATLAB
As we saw...
...
;
%
converter parameters
rs=0.0 25; rl=0. 05; rc=0. 05; ra=2 .5; C=O.O5; L=O.O 05; La=0. 05;
%
voltage applied, back emf and duty ratio
Vd =50 ; Ea =5; D=0 .5;
%
three differential equations to ...
5. 3
and
5. 4.
MATLAB
script with a set
of
differential equations to be solved
(c5-1-lb.
m):
Solution
of
Differential Equations
xl,
x2 and x3
I-,
-~
7
15
10
5...
... One can learn and explore SIMIJLMK using
the SIMULINK and MATLAB Demos. Users who do not have enough experience within
SIMULINK
will find a great deal of help using these MATLAB and SIMULINK ...
Case
2:
k=
100
and
kl=
1;
Case
3:
k
=
100
and
kl=
0.
Chapter
6:
SIMULINK
1 85
6.2.
Engineering and Scientific Computations Using
SIMULINK
with Examp...