Anda di halaman 1dari 1

MATLAB Commands

Command
CLC
Help
Plot(x,f(x))

Effect
Delete screen
Give information about
Plot the graph of f(x) versus of x

Bar(x,f(x))
Area(x,f(x))

Bar chart of f(x) versus x


Area chart under the the curve
x,f(x)
Plot of the histogram into M bins
Graph title
Give the x axis a label
Adds new plot to existing plots
( in the same plot )
Divide the screen to m*n plots and
select p for current plot
Three dimensional plot
Vector that lasts from x to z with y
intervals
Find the mean of x
Find the minimum and max of x
Clear the memory
Element by element multiplication
Probability distribution function tool
Random number generation tool
Fitting tool

Hist(x,M)
Title(CHAR)
xlabel(values of ?)
Hold on
Subplot(m,n,p)
Plot3(x,y,z)
x=x:y:z
mean(x)
Min(x);max(x)
Clear
U=V.*V
disttool
Randtool
Dfittool

Anda mungkin juga menyukai