lecture-2-matlab
lecture-2-matlab
IT
[Matlab-Tutorial (2)]
4
Matlab Tutorial: m-files
5
Matlab Tutorial: m-files
6
Matlab Tutorial: m-files
7
Matlab Tutorial: m-files
8
Matlab Tutorial: Data Types
9
Matlab Tutorial: Data Types
10
Numerical
types
Double: 34 byte (They can also
include negative numbers and
decimals.)
Single: 17 byte (They can also
include negative numbers and
decimals.)
11
12
Matlab Tutorial: Operators
13
(arithmetic operators)
A B C D
14
Example:
15
(arithmetic operators)
F
16
Example:
17
18
19
20
Bitwise Operators
21
Matlab Tutorial: Decision Making
22
Matlab Tutorial: Loops
23
Matlab Tutorial: Vectors
24
Matlab Tutorial: Matrix
25
Matlab Tutorial: Arrays
26
Live script window(.mlX
file)
1
1- go to home
2- go to new live script
(This file is created with the extension .mlx)
(This file is very user-friendly.( 27
Plot curves in live script
1
29
Homework
30