Escolar Documentos
Profissional Documentos
Cultura Documentos
Matlab - Funções
Matlab - Funções
inicia o MATLAB.
quit
matlabrc
Arquivo (.m) mestre, executado pelo MATLAB no incio da sesso. Nele est estabelecido o trajeto do
MATLAB e pr- ajustes de figuras; tambm chama o comando startup se o arquivo 'startup'.m' existir.
cedit
delete
diary
dir
getenv
ls
tempdir
tempname
unix
echo
format
home
more
exist
help
info
lasterr
lookfor
path
subscribe
type
ver
version
what
whatsnew
which
why
Caracteres Especiais
:
( )
[ ]
ponto decimal.
..
diretrio ascendente.
...
linha de continuao.
separador.
comentrios.
'
define string.
csvread
csvwrite
disp
dlmread
dlmwrite
doc
fclose
Fecha um arquivo.
feof
ferror
fgetl
fgets
fopen
Abre arquivo.
fprintf
fread
frewind
fscanf
fseek
ftell
fwrite
length
load
pack
save
size
uigetfile
uiputfile
who
whos
wk1read
wk1write
computer
eps
flops
i , j
inf
NaN
Not-a-Number (0/0, / ).
nargin
nargout
pi
realmax
realmin
Soma
Subtrao
Multiplicao
.*
Multiplicao elemento-a-elemento
Potenciao
.^
Potenciao elemento-a-elemento
Diviso esquerda
Diviso direita
.\
./
cross
Produto vetorial
dot
Produto escalar
kron
Operadores Relacionais
==
igual a
~=
no igual a
<
menor do que
>
maior do que
<=
>=
Operadores Lgicos
&
e (AND)
ou (OR)
no (NOT)
xor
Funes Lgicas
all
any
exist
find
finite
isempty
isglobal
ishold
isieee
isinf
isletter
isnan
isreal
isspace
Verdadeiro para caracteres: espao em branco, newline, carriage return, tab, vertical tab, formfeed.
issparse
isstr
strcmp
Propriedades de Matrizes
cond
condest
det
Determinante.
norm
normest
Estimativa da norma-2.
null
orth
rank
Posto da matriz.
rcond
subspace
trace
Trao da matriz.
Manipulao de Matrizes
diag
fliplr
Redispe as colunas de uma matriz invertendo a ordem dos elementos em cada linha.
flipud
Redispe as linhas de uma matriz invertendo a ordem dos elementos em cada coluna.
reshape
rot90
tril
triu
'
Transposta
Funes de Matrizes
expm
Exponencial.
expm1
expm2
expm3
funm
logm
Logaritmo.
sqrtm
Raiz quadrada.
Matrizes Especiais
compan
Matriz companheira.
diag
Matriz diagonal.
eye
Matriz identidade.
gallery
hadamard
Matriz de Hadamard.
hankel
Matriz de Hankel.
hilb
Matriz de Hilbert.
invhilb
linspace
logspace
logspace(x,y,n) cria vetor de n componentes que esto igualmente logaritmicamente espaados entre
10x e 10y.
magic
Quadrado mgico.
meshgrid
ones
Matriz de 1's.
pascal
Matriz de Pascal.
rand
randn
rosser
toeplitz
Matriz de Toeplitz.
vander
Matriz de Vandermonde.
wilkinson
zeros
Matriz nula.
Fatorao/Decomposio de Matrizes
chol
Fatorao de Cholesky.
eig
Decomposio modal.
hess
Forma de Hessenberg.
lu
null
orth
qr
qrdelete
qrinsert
rref
rrefmovie
schur
Decomposio de Schur.
svd
Fatorao de Cholesky.
inv
Inversa.
lscov
nnls
pinv
Pseudo-inversa.
polyfit
/ e \
cdf2rdf
eig
hess
Forma de Hessenberg.
pinv
Pseudo-inversa.
poly
polyeig
qz
rsf2csf
schur
Decomposio de Schur.
svd
Funes Trigonomtricas
acos,acosh
acot,acoth
acsc,acsch
asec,asech
asin,asinh
atan,atanh
cos,cosh
cot,coth
csc,csch
sec,sech
sin,sinh
tan,tanh
Valor absoluto.
angle
ngulo de fase.
cart2pol
cart2sph
ceil
Arredonda em direo a .
conj
Complexo-conjugado.
exp
Exponencial base e.
expint
fix
floor
Arredonda em direo a -
gcd
imag
Parte imaginria.
lcm
log
log2
log10
pol2cart
pow2
rat
Aproximao racional.
rats
real
Parte real.
rem
round
sign
Funo sinal.
sph2cart
sqrt
Raiz quadrada.
Funes Especiais
bessel
Funo de Bessel.
besseli
besselj
besselk
bessely
beta
Funo beta.
betainc
betaln
ellipj
ellipke
erf
Funo erro.
erfc
erfcx
erfinv
expint
gamma
Funo gama.
gammainc
gammaln
legendre
Funes de Legendre.
else
elseif
end
error
for
if
return
while
eval
feval
function
global
helpdlg
input
keyboard
Suspende a execuo de uma rotina e permite que o usurio entre e execute novos comandos pelo
teclado; a rotina continuada aps o usurio digitar return.
lasterr
menu
nargchk
pause
questdlg
rbbox
uigetfile
uiputfile
warndlg
Hora e Data
clock
Retorna vetor de seis elementos contendo data e hora atual, formato decimal.
cputime
date
etime
tic,toc
blanks
deblank
dec2hex
eval
findstr
hex2dec
hex2num
int2str
isletter
isspace
isstr
lower
num2str
setstr
sscanf
sprintf
strcmp
strrep
str2mat
str2num
strtok
Identifica a primeira parte (token) numa string, identificada por caractere delimitador.
upper
dbcont
Retoma a execuo.
dbdown
dbquit
dbstack
dbstatus
dbstep
Permite executar uma ou mais linhas do programa antes de retornar ao modo de depurao (debug).
dbstop
dbtype
dbup
mexdebug
Anlise de Dados
cumprod
cumsum
hist
Plota histograma.
max
mean
median
min
prod
sort
std
sum
Processamento de Sinais
abs
angle
conv
Convoluo de seqncias.
conv2
corrcoef
Coeficientes de correlao.
cov
Matriz de covarincia.
cplxpair
deconv
Deconvoluo de seqncias.
filter
filter2
fft
fft2
fftshift
ifft
ifft2
nextpow2
unwrap
Calcula Laplaciano.
diff
gradient
Calcula gradiente.
griddata
interp1
interp2
interp3
10
interp4
interp5
interp6
interpft
spline
Polinmios
conv
deconv
poly
polyder
polyfit
polyval
Calcula polinmio.
polyvalm
residue
roots
roots1
Integrao Numrica
quad
quad8
trapz
Mtodo trapezoidal.
ode23p
ode45
fmins
fplot
fsolve
fzero
Traado de Grficos
X-Y Bsico
loglog
plot
semilogx
semilogy
X-Y Especializados
bar
Grfico de barras.
comet
11
compass
compass(Z) traa um grfico que mostra ngulo e magnitude dos elementos complexos de Z como
setas emanando da origem.
errorbar
feather
feather(Z) traa um grfico que mostra o ngulo e magnitude dos elementos complexos de Z como
setas emanadas de pontos igualmente espaados ao longo de um eixo horizontal.
fill
fplot
hist
Traa histogramas.
polar
rose
Histograma de ngulos.
stairs
stem
zoom
Impresso e Armazenamento
print
printopt
orient
Anotao em Grficos
ginput
grid
gtext
legend
text
title
Coloca ttulo.
xlabel
ylabel
zlabel
Apaga a figura.
close
Fecha janela.
figure
gcf
graymon
refresh
whitebg
axis
caxis
cinvert
12
cla
gca
hold
ishold
newplot
subplot
terminal
comet3
contour
contour3
contourc
fill3
image
Mostra imagem.
imagesc
mesh
meshc
meshz
pcolor
plot3
quiver
slice
surf
surfc
Combinao surf-contour.
surfl
waterfall
Objetos em 3-D
sphere
cylinder
Gera um cilindro.
peaks
caxis
colorbar
colormap
hidden
rotate
shading
surfnorm
13
view
viewmtx
zoom
colormap
contrast
shading
Mapas de Cores
bone
contrast
cool
copper
flag
gray
hot
Preto-vermelho-amarelo-branco.
hsv
jet
Variante of HSV.
pink
prism
Cores do arco-ris.
white
Branco monocromtico.
hsv2rgb
pcolor
Plota um mapa (palheta) de cores, em formato de tabuleiro, em correspondncia aos valores dos
elementos do argumento.
rgb2hsv
rgbplot
spinmap
Modelos de Claridade/Iluminao
diffuse
specular
surf1
figure
image
Cria imagem.
line
patch
14
surface
text
uicontrol
uimenu
drawnow
gco
get
reset
rotate
set
MATLAB String
Clipping
[ on | off ]
Interruptible
[ no | yes ]
Parent
Somente leitura
UserData
Visible
[ on | off ]
Root
CaptureRect
Retngulo
CurrentFigure
Handle da figura
Diary
[ on | off ]
DiaryFile
Nome-de-arquivo
Echo
[ on | off ]
Format
FormatSpacing
[ loose | compact ]
PointerLocation
Ponto
ScreenDepth
Inteiro
TerminalOneWindow
[ no | yes ]
TerminalProtocol
Units
Figure
BackingStore
[ on | off ]
Color
Especificao de cor
Colormap
Mapa de cores
Current Axes
CurrentObject
Handle do objeto
15
InvertHardcopy
[ on | off ]
KeyPressFcn
MATLAB string
MenuBar
[ none | figure ]
MinColormap
Inteiro
Name
String
NextPlot
NumberTitle
[ on | off ]
PaperUnits
PaperOrientation
[ portrait | landscape ]
PaperPosition
Retngulo
PaperType
Pointer
[ crosshair | arrow | watch | topl | topr | botl | botr | circle | cross | fleur ]
Position
Retngulo
Resize
[ on | off ]
ShareColors
[ no | yes ]
Units
WindowButtonDownFcn
MATLAB string
WindowButtonMotionFcn
MATLAB string
WindowButtonUpFcn
MATLAB string
Axes
AspectRatio
Matriz 1x2
Box
[ on | off ]
CLim
Matriz 1x2
CLimMode
[ auto | manual ]
Color
ColorOrder
Mapa de cores
DrawMode
[ normal | fast ]
FontAngle
FontName
String
FontSize
Escalar
FontWeight
GridLineStyle
[ - | -- | : | -. ]
LineStyleOrder
LineWidth
Escalar
NextPlot
Position
Retngulo
TickLength
Retngulo
TickDir
[ in | out ]
Title
String
Units
16
View
Xcolor
Especificao de cor
Xdir
[ normal | reverse ]
Xform
Matriz 4x4
Xgrid
[ on | off ]
XLabel
String
XLim
XLimMode
[ auto | manual ]
XScale
[ linear | log ]
Xtick
Vetor
XTickLabels
String
XTickLabelMode
[ auto | manual ]
XTickMode
[ auto | manual ]
YColor
Especificao de cor
YDir
[ normal | reverse ]
YGrid
[ on | off ]
YLabel
String
YLim
YLimMode
[ auto | manual ]
YScale
[ linear | log ]
YTick
Vetor
YTickLabels
String
YTickLabelMode
[ auto | manual ]
YTickMode
[ auto | manual ]
ZColor
Especificao de cor
ZDir
[ normal | reverse ]
ZGrid
[ on | off ]
ZLabel
String
ZLim
ZLimMode
[ auto | manual ]
ZScale
[ linear | log ]
ZTick
Vetor
ZTickLabels
String
ZTickLabelMode
[ auto | manual ]
ZTickMode
[ auto | manual ]
Uicontrol
BackgroundColor
Especificao de cor
CallBack
MATLAB string
ForegroundColor
Especificao de cor
HorizontalAlignment
Max
Escalar
17
Min
Escalar
Position
Retngulo
String
String
Style
Units
Value
Escalar
Uimenu
Accelerator
Caractere
BackgroundColor
Especificao de cor
CallBack
MATLAB string
Checked
[ on | off ]
Enable
[ on | off ]
ForegroundColor
Especificao de cor
Label
String
Position
Retngulo
Separator
[ on | off ]
Line
Color
Especificao de cor
EraseMode
LineStyle
[ - | -- | : | -. | + | o | * | . | x ]
LineWidth
Escalar
MarkerSize
Escalar
Xdata
Matriz
Ydata
Matriz
Zdata
Matriz
Text
Color
Especificao de cor
EraseMode
FontAngle
FontName
String
FontSize
Escalar
FontWeight
HorizontalAlignment
Position
Retngulo
Rotation
Escalar
String
String
Units
VerticalAlignment
18
Surface
CData
Matriz
EdgeColor
EraseMode
FaceColor
LineStyle
[ - | -- | : | -. | + | o | * | . | x ]
LineWidth
Escalar
MarkerSize
Escalar
MeshStyle
XData
Matriz
YData
Matriz
ZData
Matriz
Patch
CData
Matriz
EdgeColor
EraseMode
FaceColor
LineWidth
Escalar
XData
Matriz
YData
Matriz
ZData
Matriz
Image
CData
Matriz
XData
Matriz
YData
Matriz
Filmes e Animao
getframe
movie
moviein
Som
lin2mu
mu2lin
saxis
sound
wavread
wavwrite
colperm
Reordena colunas.
19
condest
dmperm
Decomposio de Dulmage-Mendelsohn.
etree
find
full
gplot
Desenha um grafo.
issparse
nnz
nonzeros
Elementos no nulos.
normest
Estima a norma-2.
nzmax
randperm
spalloc
sparse
sparsfun
spaugment
spconvert
spdiags
speye
spfun
spones
spparms
sprandn
sprandsym
sprank
spy
symbfact
symmmd
symrcm
20