You are on page 1of 18

matlab

windows
1!dir !dir& dos
2who
whos
3

Ctrl+P

Ctrl+N

Ctrl+B

Ctrl+F

Ctrl+
Ctrl+R

Ctrl+
Ctrl+L

home
Ctrl+A

End
Ctrl+E

Esc
Ctrl+U

Del
Ctrl+D

Backspace
Ctrl+H

Ctrl+K

Ctrl+C

4clc

1
* / \ ^
2
sin( )
Cot( )
sind( )
Cotd( )
asin( )
acot( )
Asind( )
acotd( )
cos( )
exp( )
cosd( )
log( )
acos( )
log10( ) 10
acosd( )
sqrt( )
tan( )
realsqrt( )
tand( )
abs( )
atan( )
angle( )
atand( )
mod(x,y) x/y
sum( )
3help elfunhelp specfun
4
pi
3.1415926.
realmin
2^-1022
i

realmax
2eps2^1022
j

Inf

eps
2^-52

NaN

1linspace(first,last,num)firstlastnum
2[ ]
ones( ) 112.
zeros() 0
eye()
10
diag()

magic()
rand()

randn()
randperm()

horcat
C=[A,B]cat(1,A,B)
vercat
C=[A;B], cat(2,A,B)
repmat(M,v,h)
Mvh
blkdiagAB
AB
length

ndims

numel

size
[rows,cols]=size(A)
reshape
reshape(A,2,6),A26
rot90
90
fliplr

flipud

transpose

ctranspose
AA.
inv

det

trace

norm
norma1normaInf.
normest

chol
cholesky
cholinc
cholesky
lu
LU
luinc
LU
qr

kronAB
AmnBpqmpnqABp
rank

pinv

A^p
A
A.^P
A

1
1AX=B XA\BXA=BX= A/BAmnmn
2AX=b, ALU[L,U]=lu(A), X=U\(L\b),LU
3QRAQR[Q,R]=chol(A), X=Q
4cholesky
2
DeigAA[V,D]=eig(A),
3AUSUT[U,S]=schur(A).SA
4Matlab
conv

deconv
abdeconvs
poly

polyeig

Polyfitxyn
xyn
polyder
polyderabab
[a,b]polyderaba/b
polyint

polyval

polyvalm

residue

roots

ployA
5
griddata

Griddata3

interp1
yi=interp1(x,y,xi,method)Method=nearest/linear/spline/pchip/cu
Interp2
zi=interp1(x,y,z,xi,yimethod),bilinear
Interp3

interpft
help fft
mkpp

spline

pchip
hermit
6
fminbndfx1x2optiset,f x1x2OptisetDisplay

1
plot

plot3

fplot
fplotf
loglog
semilogx

semilogy

y
.
v

g
-.
>

b
+

<

m
o

c
*

w
.

hold on
r
x
grid on
k
s

d
--
^
3subplot331
=================================================================
1.1

addpath

rmpath

demo
Matlab
type
.M
doc

version
Matlab
help

what

lasterr

whatsnew
Matlab
lookfor

which

path
Matlab
1.2

clear

pack

disp

save

length

size

load

who,whos

1.3

cd

edit
.M
delete

matlabroot
Matlab
diary
Matlab
tempdir

dir

tempname

(temp)

1.4

echo
Matlab
more
format

1.5

matlabrc

quit
Matlab
startup
Matlab
2
2.1

...

,
()
*

;
()
.*

.^

kron
kron
.

==

.\

~=

./

<

<=

()

>

[]

>=

{}
&

.
,(.\)
~

xor

2.2

all

is*()
.*(
any

*isa

exist

logical

find

3
3.1

builtin
Matlab
global

eval
Matlab
nargchk

feval

script
Matlab
function
Matlab
3.2

break

if

case
switch
otherwise

else
if
return

elseif
if
switch
case
end

warning

error

while

for

3.3

input

menu

keyboard

pause

3.4

class

isa

double

superiorto

inferiorto

unit8
8
inline

3.5

dbclear

dbstatus

dbcont

dbstep

dbdown

dbstop

dbmex
Mex
sbtype
.M
dbquit

dbup

dbstack

4
4.1

eye

rand

linspace

randn

logspace

zeros

ones
1
:

4.2

ans

non
0/0Inf/Inf
computer
Matlab
nargin

eps
()
nargout

flops

pi

realmax

inf

realmin

inputname

varargin

varargout

4.3

calender

eomday

clock

etime

cputime
CPU
now

date

tic

datenum
()
toc

datestr
()
weekday

datevoc
()
4.4

cat

reshape

diag

rot90
90
fliplr

tril

flipud

triu

repmat

compan

invhilb
hilbert
gallery

magic
magic
hadamard
hadamard
pascal
pascal
hankel
hankel
toeplitz
toeplitz
hilb
hilbert
wilkinson
wilkinson
6
6.1

sin/asin
/
sec/asec
/
sinh/asinh
/
sech/asech
/
cos/acos
/
csc/acsc
/
cosh/acosh
/
csch/acsch
/
tan/atan
/
cot/acot
/
tanh/atanh
/
coth/acoth
/
atan2

6.2

exp

log10

log

sqrt

6.3

abs

imag

angle

real

conj

6.4

fix

round
floor
-
rem
ceil
+
sign

6.5

airy
airy
erfcx

besselh
bessel(hankel)
erfinv

bessili
bessel
expint

besselk
bessel
gamma
gamma
besselj
bessel
gammainc
gamma
bessely
bessel
gammaln
gamma
beta
beta
gcd

betainc
beta
lcm

betaln
beta
log2

elipj
Jacobi
legendre
legendre
ellipke

pow2
2
erf

rat

erfc

rats

================================================================
A a
abs ASCII
acos
acosh
acot
acoth
acsc

acsch
align
all
angle
ans
any
area
argnames M
asec
asech
asin
asinh
assignin
atan
atan2
atanh
autumn
axes
axis
B b
bar
bar3
bar3h
barh
base2dec X
bin2dec
blanks
bone
box
break while for
brighten
C c
capture 3
cart2pol
cart2sph
cat
caxis
cd
cdedit
cdf2rdf
ceil
cell
cell2struct
celldisp
cellplot
char
chi2cdf
chi2inv
chi2pdf
chi2rnd
chol Cholesky
clabel
cla
class

clc
clear
clf
clock
colorcube
colordef
colormap
colspace
close
colperm
comet
comet3
compass
compose
cond
condeig
condest -1
conj
contour
contourf
contour3
contourslice
conv
cool
copper
cos
cosh
cot
coth
cplxpair
csc
csch
cumsum
cumtrapz
cylinder
D d
dblquad
deal
deblank
dec2base X
dec2bin
dec2hex
deconv
delaunay Delaunay
del2 Laplacian
demo Matlab
det
diag
diary Matlab
diff
digits
dir
disp
display
dlinmod
dmperm Dulmage-Mendelsohn
dos DOS

double
drawnow Matlab
dsolve
E e
echo M
edit M
eig
eigs
end FOR
eps
error
errortrap
erf
erfc
erfcx
erfinv
errorbar
etreeplot
eval
evalin
exist
exit Matlab
exp
expand
expint
expm
expm1 Pade
expm2 Taylor
expm3
eye
ezcontour
ezcontourf
ezgraph3
ezmesh
ezmeshc
ezplot
ezplot3
ezpolar
ezsurf
ezsurfc

F f
factor
feather
feedback
feval
fft Fourier
fft2 Fourier
fftn Fourier
fftshift
fieldnames
figure
fill3
find

findobj
findstr
findsym
finverse
fix
flag
fliplr
flipud
flipdim
floor
flops
flow Matlab
fmin
fminbnd
fmins
fminunc
fminsearch
fnder
fnint
fnval
fnplt
fopen
for for
format
fourier Fourier
fplot
fprintf
fread
fsolve
full
funm
funtool
fzero
G g
gamma
gammainc
gammaln
gca
gcbo ""
gcf
gco
geomean
get
getfield
getframe
ginput
global
gplot
gradient
gray
grid
griddata
gtext
guide
H h

harmmean
help
helpwin
helpdesk
hex2dec
hex2num
hidden
hilb Hilbert
hist
histc
histfit
hold
horner
hot
hsv
I i
if-else-elseif
ifft Fourier
ifft2 Fourier
ifftn Fourier
ifftshift
ifourier Fourier
i, j ""
ilaplace Laplace
imag
image
imagesc
imfinfo
imread
imwrite
imwrite
ind2sub
inf
info MathWorks
inline
inmem
input
inputname
int
int2str
interp1
interp2
interp3
interpn N
interpft FFT
intro Matlab
inv
invhilb Hilbert
ipermute
isa
ischar
isequal
isempty
isfinite
isfield
isglobal

ishandle
ishold
isieee IEEE
isinf
isletter
islogical
ismember
isnan
isnumeric
isobject
isprime
isreal
isspace
issparse
isstruct
isstudent Matlab
iztrans Z
J j , K k
jacobian Jacobian
jet
jordan Jordan
keyboard
kron Kronecker
L l
laplace Laplace
lasterr
lastwarn
leastsq
legend
lighting
line
lines plot
linmod
linmod2
linspace
ln
load MAT
log
log10
log2 2
loglog
logm
logspace
lookfor M
lower
lsqnonlin
lu LU
M m
mad
magic
maple &nb, sp; Maple

mat2str
material
max
mbuild EXE
mcc MEXEXE
mean
median
menuedit
mesh
meshz
meshgrid ""
methods
mex MEX
mfunlis mfunMAPLE
mhelp Maple
min
mkdir
mkpp
mod
more
movie
moviein
mtaylor Taylor
N n
ndims
NaN
nargchk
nargin
nargout
ndgrid
newplot
nextpow2 2
nnz
nonzeros
norm
normcdf
normest 2
norminv
normpdf
normrnd
notebook MatlabWord
null
num2str
numden
nzmax
O o
ode1 Stiff
ode15s Stiff
ode23t Stiff
ode23tb Stiff
ode45 Stiff
odefile ODE
odeget ODE
odephas2 ODE

odephas3 ODE
odeplot ODE
odeprint Matlab
odeset ODE
ones 1
optimset
orient
orth
P p
pack Matlab
pagedlg
patch
path Matlab
pathtool
pause
pcode P
pcolor
peaks Matlab
permute
pi
pie
pie3
pink
pinv
plot
plot3
plotmatrix
plotyy
poissinv
poissrnd
pol2cart
polar
poly
poly2str
poly2sym
polyder
polyfit
polyval
polyvalm
pow2 2
ppval
pretty
print SIMULINK
printsys
prism
procread MAPLE
profile
propedit
pwd
Q q
quad
quad8 (QUADL)
quit Matlab
quiver

quiver3
R r
rand
randn
randperm
range
rank
rats
rcond
real
reallog
realpow
realsqrt
realmax
realmin
rectangle ""
rem
repmat
reshape
residue
return
ribbon
rmfield
roots
rose
rot90 90
rotate
rotate3d
round
rref
rsf2csf
rsums Riemann
S s
save
scatter
scatter3
sec
sech
semilogx X
semilogy Y
series
set
setfield
setstr ASCII
sign
signum
sim SIMULINK
simget SIMULINK
simple
simplify
simset SIMULINK
simulink SIMULINK
sin
sinh
size

slice
solve
spalloc
sparse
spconvert
spdiags
spfun
sph2cart
sphere
spinmap
spline
spones 1
sprandsym
sprank
spring
sprintf
spy
sqrt
sqrtm
squeeze 1""
sscanf
stairs
std
stem
step
str2double
str2mat
str2num
strcat
strcmp
strjust
strmatch
strncmp
strrep
strtok
struct
struct2cell
strvcat
sub2ind
subexpr
subplot
subs
subspace
sum
summer
superiorto
surf
surface
surfc
surfl
surfnorm
svd
svds
switch-case-otherwise
sym2poly
symmmd
symrcm Cuthill-McKee
syms

T t
tan
tanh
taylortool Taylor
text
tf
tic
title
toc
trapz
treelayout
treeplot
tril
trim
trimesh
trisurf triu try-catch Try-catch type M
U u
uicontextmenu
uicontrol
uimenu
unmkpp
unwrap
upper
V v
var
varargin
varargout
vectorize
ver
view
voronoi Voronoi
vpa
W w
warning
what
whatsnew Matlab Readme
which
while While
white
whitebg
who
whos
winter
workspace
X x , Y y , Z z
xlabel X
xor
yesinput
ylabel Y
zeros

zlabel Z
zoom
ztrans Z

You might also like