Matlabgfn
-
Upload
mostufa-khedrawy -
Category
Documents
-
view
219 -
download
0
Transcript of Matlabgfn
-
7/24/2019 Matlabgfn
1/26
Matlab
-
7/24/2019 Matlabgfn
2/26
Default layout (page 1)
Command window
Command
history
Workspace
-
7/24/2019 Matlabgfn
3/26
To restore the default layout
desktop >> desktop layout >> defaultTo clear the workspace
clearTo nd information (help) about MATLA
commands
!" use help command for e#ample
help clear
$" use the help icon from the toolbar
Layout & help (page 2)
-
7/24/2019 Matlabgfn
4/26
The answer of any line is printed bellow ite#cept lines ended by %
a&'"$
b&%c&ab MATLA is case sensiti*e so # is not +
a&'
b&A' wron,
b&a'
Notes page 2
-
7/24/2019 Matlabgfn
5/26
-ou can write more than a command in thesame line. /ach is separated by 0 (answerprinted) or % (answer not printed)
a&'0 b&1 % c&ab % d&c2 3perator with numbers
!" 4(power) 0 50 20 0 " (arithmetic)
$" 60 6&0 >0 >&0 &&0 7&(not e8ual) 0 9
(or)0 :(and) Look to e#amples in the end of pa,e '
Notes and operators (page 2&3)
-
7/24/2019 Matlabgfn
6/26
To make a row *ector called aas inMATLA0 we write
a & ; ! '