You are on page 1of 13

matlab

1
ans

computer

Inf

nargin

nargoutchk

inputname

nargout

varargin

+-

pi

realmax

realmin

varargout

\ /

kron Kronecker

...

NaN

* .*

eps

^ .^

./

: ()

[] .

, ;

' =

== <>

..

% !

& |

~ xor

2
abs

acos,acodh

acsc,acsch

secant

complex

csc,csch

conj

exp

fix

imag

log2 2

log10

nchoosek

rem
sign

cos,cosh

***

log

atan,atanh

ceil

cot,coth

mod

asec,asech

atan2

floor

lcm

angle

asin,asinh

tangent

acot,acoth

round

sin,sinh

real

sec,sech

sqrt

tan,tanh

3
blkding

eye

logspace

rand

0 colon)

numel

triu

dot

ismember

setxor

tril

cross
intersect

setdiff
cumprod

cumtrapz
min

repmat

roy90 90

zeros

diag

flipud

reshape

ones 1

randn
cat

fliplr

linespace

max

union
cumsum

factor
mean

perms

inpolygon
mediam

polyarea

primes

sort
sum

prod
sortrows

trapz

diff

rectint
var

conv2

cov

corrcoef

filter IIR FIR

deconv

filter2

cplxpair

fft

fftshift FFT DC

ifft2

conv

polyval

residue

interp1

spline 3

barh

cylinder

plot3 3

sphere

trisurf

datetick

plot
bar3h 3D

fill3 3D
slice

stem3

wate***ll

clabel
grid

gtext

plotyy Y

xlabel X

ylabel Y

contour

contourc

hidden

title

zlabel Z
contourf

meshc /

peaks

su***ce

3D

semilogx x

quiver3 3D

legend

3D

hold

pie

bar3 3D

histc

semilogy y

comet3 3D

2D

bar

loglog x,y
subplot

ppval

hist

polar

interpn

ndgrid

pchip 3 Hermite

interp2

interpft FFT

polyint

meshgrid 3 x y

polyeig

polyvalm

interp3

roots

polyder

polyfit

ifftshift

unwrap

poly

ifft

ifftn

conv

fft2

nextpow2 2

del2

gradient

FFT

std

mesh
surf 3D

surfc

surfl

trimesh

Matlab
1(General information)
demo

help

helpdesk

MathWorks

helpbrowser
helpwin

subscribe MATLAB

info MATLAB

ver MATLAB

TOOLBOX

version MATLAB

whatsnew

2(Managing the workspace)


clear

pack

load

quit MATLAB

who

exit MATLAB

save

whos

workspace

3 (Managing commands and functions)


edit
MEX

edit M

inmem P

open

pcode P

what MMATMEX

mex

type

which

4 (Managing the seach patli)


addpath

rmpath

path MATLAB

pathtool

5(Controlling the command window)


beep beep

echo
format

diary MATLAB

more

6(Operating system commands)


cd

computer

dir

copyfile

dos dos

ispc MATLAB PC(Windows)

mkdir

vms vms dcl

delete

getenv

isunix MATLAB Unix

pwd

unix unix

web web

Matlab
1(Arithmetic operators)
+

.*

./.\

.^

[]

help
2(Relational operators)
= =

~=

<

>

<=

>=

3(Logical operators)
&

xor

any

all

4(Special characters)

( )

[ ]

.
%

..

{ }
?
=

@
,

[,]

( ),{ },.

[;]

( ),{ },.

subsindex

Matlab
(Control flow)
break

case switch

catch try

continue for while

elseif if

end for,while,if

if

else if
for

otherwise switch

switch

try try-cathch

return

while

2 (Evaluation and execution)


assignin
MATLAB

builtin

eval

evalin

evalc

feval

run

3 (Scripts,function,and variables)
exist

function

isglobal

global

iskeyword

persistent

mfilename

script MATLAB

4(Augument handling)
inputname

nargchk

nargout
varagin

nargin

nargoutchk

varagout

5 (Message display)
disp

fprintf

display

lastwarn

error

lasterr

sprintf

warning

6 (Interactive input)
nput

keyboard

uicontrol

pause

uimenu

Matlab
1 (Elementary matrices)
eye

linspace

ones 1

repmat

logspace

meshgrid

rand
zeros

randn

2 (Basic array information)


disp

isempty

isequal

islogical

isnumeric

logical

length

ndims A

size

3 (Matrix manipulateion)
blkdiag

diag

find 1

flipdim

reshape

fliplr

flipud

ind2sub

rot90 90

tril

end

sub2idn

triu

4(Special variables and constants)


ans

eps

isfinite

NaN nan

realmin

i,j

isinf

pi 3.1415926535897?.

inf Inf
isnan

realmax

why

5(Specialized matrices)
compan

gallery

hankel Hankel

magic

toeplitz Toeplitz

hadamard Hadamard

hilb Hilbert
pascal Pascal

invhilb Hilbert
rosser

vander Vandermonde

wilkinson

Wilkinson's
Matlab
1 (Trigonometric)
acos

acsch

acosh

asinh

asec
atan

acoth
asech

atanh

acsc
asin

atan2

cos

cosh

cot

coth

csc

csch

sec

sech

sin

sinh

tan

tanh

acot

2 (Exponential)
exp

log

log10

nestpow2 2

log2 2

pow2 2

sqrt

3 (Complex)
abs

angle

complex

cplxpair
real

imag

conj
isreal

unwrap 360

4(Rounding and remainder)


ceil

fix

mod

rem

6 (Specialized math functions)

cart2sph

floor

round

sign

cart2pol ()

cross

dot

isprime

pol2cart ()

sph2cart

Matlab
1 (Matrix analysis)
det

norm

orth

rank

subspace

normest 2

rref

null

trace

2 (Linear equations)
chol Cholesky

condest 1-

LU

cholinc Cholesky
inv

lscov

qr QR

cond
lu LU

luinc

nnls

rcond LINPACK

pinv

\/

3 (Eigenvalues and singular values)


condeig

eig

gsvd

hess Hessenberg

polyeig

qz

eigs
poly

schur Schur

svd

svds

4 (Matrix functions)
expm

expm1 Pade

expm3

logm

expm2
funm

sqrtm

5 (Factorization utility)
cdf2rdf

balance

rsf2csf


1 (Basic operations)
cumprod

cumsum

histc

min

max

prod

std

cumtrapz
mean

sort

sum

hist
median

sortrows

trapz

var

2 (Finite differentces)
del2 Laplacian

diff

gradient

3 (Correlation)
corrcoef

cov

subspace

4 (Filtering and convoluteion)


conv

conv2

deconv

convn N

filter

detrend
fliter2

5 (Fourier transforms)
fft

fft2

fftshift fft fft2

ifft

ifftn N

fftn N
ifft2

ifftshift fftshift


1 (Audio hardware drivers)
sound

soundsc

waveplay

waverecor

2 (Audio file import and export)


auread (.au)
(.wav)

auwrite (.au)

wavread

wavwrite (.wav)

3 (Utilities)
lin2mu

mu2lin


1 (Data Interpolation)
griddata

griddata3

interpft FFT

interp2

griddatan

interp1

interp3

interp1q

intern N

pchip

hermite
2 (Spline Interpolation)
ppval

spline

3 (Polynomials)
conv

deconv

polyfit

poly

polyint

polyvalm

residue

polyder

polyval
roots

ODE
1(Optimization and root finding)
fminbnd

fminsearch

fzero

2 (Optimization Option handling)


optimget OPTIONS

optimset OPTIONS

3 (Numerical intergration)
dblquad ()

quad

quadl

4 (Plotting)
ezcontour

ezcontourf

ezmeshc

ezmesh

ezplot

ezplot3 3

ezpolar

fplot

ezsurf

ezsurfc

5 (Inline function object)


argnames

char

formula

inline

6 (Differential equation solvers)


ode113

ode15s

ode23s

ode23

ode23t

odet23tb

ode45

1 (Elementary XY graphs)
loglog

plot

polar

plotyy

semilogx X

semilogy Y

2 (Axis control)
axes

axis

grid

box

hold

subplot

zoom

3 (Graph annotation)
gtext

text

xlabel X

legend

plotedit

texlabel Tex

title

ylabel Y

4 (Hardcopy and printing)


orient

print

printopt


1 (Elementary 3D plots)
ill3

mesh

plot3

surf

2 (Color control)
alpha

brighten

colordef

caxis ()

colormap

hidden

graymon

shading

whitebg

3 (Lighting)
diffuse

light
specular

lighting
surfnorm

material
surfl

4 (Color maps)
autumn

bone

cool

gray

colorcube

copper
hot

flag
hsv

jet HSV

spring

lines plot

white

pink

summer

prism

vga 16

winter

5 (Axis control)
axes

axis

box

daspect DataAspectRatio

pbaspect PlotBoxAspectRatio

ylim Y

grid

zlim Z

hold

subplot

xlim

zoom

6 (Viewpoint control)
rotate3d

view 3D

viewmtx

7 (Graph annotation)
colorbar

gtext

text

plotedit

title

xlabel X

ylabel Y

zlabel Z

8 (Hardcopy and printing)


orient

print

printopt

verml VRML2.0


1 (Specialized 2D graphs)
area

bar

compass

ezpolar

fplot

barh

comet

errorbar

ezplot

feather X
hist

plotmatrix

fill

pareto Pareto

scatter

pie

stairs

stem

2 (Contour and 21/2D graphs)


clabel

contour

ezcontour

contourf

ezcontourf

contour3
pcolor

voronoi Voronoi

3 Specialized 3D graphs
bar3

bar3h

ezgraph3

ezmesh

ezplot3

ezsurf

meshc

comet3
ezmeshc
ezsurfc

meshz

ribbon

scatter3

surfc

trimesh

pie3
stem3
trisurf

waterfall

4 (Volume and vector visualization)


coneplot

contourslice
slice

quiver

quiver3

5 (Image display and file I/O)


brighten

colorbar

contrast

imagesc

colormap

gray

image

imfinfo

imread

imwrite

6 (Movies and animation)


capture

im2frame

frame2im

moviein

getframe
movie

rotate

7 (Color related function)


spinmap
8(Solid modeling)
cylinder

patch

sphere

Surf2patch


1 (Figure window creation and control)
clf

close

openfig

figure
refresh

gcf

shg

2 (Axis creation and control)


axes

axis

caxis

box

cla

ishold

gca

hold

subplot

3 (Handle Graphics objects)


axex

figure

line

text

patch

image

rectangle

light

surface

uicontextmenu

uicontrol

uimenu

4 (Handle Graphics operations)


copyobj

delete

findobj

gcbo ""

gcbf ""

getappdat
reset

drawnow

gco

get

isappdata

rmappdata

set

setappdata

5 (Utilities)
closereq

ishandle

newplot


align

cbedit

ginput

guide GUI

menu

uicontrol

menuedit

propedit

uimenu


1 (General)
blanks

cellstr

deblank

double ASCII

char

eval MATLAB

2 (String tests)
iscellstr

ischar

isspace

isletter

isstr

3 (String operations)
base2dec X

bin2dec

dec2base X

dec2bin

dec2hex 16

findstr

hex2dec 16

int2str
strcmp

MATLAB

lower

num2str

hex2num 16
strcat

strcmpi

strjust

strnomp N

strvcat

str2num

strings

strmatch

strncmpi N

strrep

mat2str

strtok

str2mat
upper

/
clc

disp

home

pause

fprintf

input

sprintf

load
sscanf


clock

cputme MATLAB CPU


now

date

pause

etime CLOCK

tic

toc


1 (Data types)
cell

char

double 16

inline

Java

JavaArray Java

JavaObject Java

sparse

8(1632)

struct

function handle
JavaMethod
single
uint8(unit16unit32)

int8(nit16nit32) 8(1632)


2 (Multidimensional array functions)
cat

ndims A

ipermute

ndgrid ND

permute

shiftdim

squeeze

3 (Cell array functions)


cell

celldisp

cellplot

deal

cellfun

cell2struct
is cell

num2 cell

struct2 cell

4 (Structure functions)
fieldnames

getfield

isstruct

isfield

rmfield

setfield

struct

5 (Function handle functions)


@

functions

func2str

str2func

6 (Object oriented programming functions)


dlass

isa

isjava java

inferiorto

isobject

substruct

methods

superiorto


demo

flow

intro

peaks peaks


1 (Calculus)
diff

limit

int

symsum

jacobian Jacobian

trylor Trylor

2 (Linear Algebra)
det

diag

expm

inv

poly

tril

rank

eig

jordan Jordan
rref

null
svd

triu

3 (Simplification)
collect

horner

expand

factor

numden

simplify

simple

subexpr

subs

4 (Solution of Equation)
compose

dsolve

fminunc

finverse

fsolve

lsqnonlin

solve

5 (Variable Precision Arithmetic)


digits n
vpa
6 (Integral Transforms)
fourier Fourier

ifourier Fourier

iztrans Z

ilaplace Ilaplace

laplace Ilaplace

ztrans Z

7 (Conversions)
char

double 16

poly2sym

sym2poly

8 (Basic Operation)
ccode C
fortran

findsym ""

latex LaTex

sym

fortran

pretty

syms

9 (String handling utilities)


isvarname

vectorize

10 (Pedagogical and Graphical Applications)


ezcontour

ezcontourf

ezmesh

ezplot

ezpolar

funtool

ezsurf

ezmeshc

ezplot2
ezsurfc

rsums Riemann

taylortool Taylor

11 Maple (Access to Maple)


maple MAPLE

mfunlist mfun MAPLE

mfun MAPLE
mhelp MAPLE

procread MAPLE MAPLE


bode

butter Butter Worth

MAPLAB

lsim

MAPLAB

impulse

ltiview

matlabrc

mbuild

mex C MEX
nyquist Nyquist

rlocus

simulink SIMULINK

startup MATLAB M

LTI
LTI

mcc

mineral

sim SIMULINK

loodfor

hosted

isparse

gplot

setstr ASCII

ss LTI
ssdata LTI
step

tfdata LTI
zpkdata LTI
notebood Mbook

tf
zpk