MATLAB PART 4
MATLAB
COURSE BY : PROF. HOSSEINI
PREPARED BY
S. M. RAFIGH
2011
MATLAB GRAPHICS
One of the best things about MATLAB is
interactive graphics
plot is the one you will be using most often
M
MATLAB PART 3
MATLAB
COURSE BY : PROF. HOSSEINI
PREPARED BY
S. M. RAFIGH
2011
Binomial Distribution
n p k (1 p) nk ,
p(k ) =
k
= np
k = 0,1,., n
Bernoulli
1720
2 = np(1 p)
k=0:20;
y=binopdf(k,20,0
MATLAB PART 2
MATLAB
COURSE BY : PROF. HOSSEINI
PREPARED BY
S. M. RAFIGH
2011
Desktop Tools (Matlab v6)
Command Window
type commands
Workspace
view program variables
clear to clear
double click on
MATLAB PART 1
MATLAB
COURSE BY : PROF. HOSSEINI
PREPARED BY
S. M. RAFIGH
2011
Outline:
What is Matlab?
Matlab Screen
Variables, array, matrix, indexing
Operators (Arithmetic, relational, logical )
Dis