Docs
Resources
Pricing
GitHub
Toggle theme
Toggle Menu
GitHub
Toggle theme
Download
Sign In
Try in Browser
Built-in Function Reference
View:
Cards
List
Chips
Array
accumarray
argsort
blkdiag
cat
circshift
colon
combinations
diag
discretize
eye
false
fill
find
findgroups
flip
fliplr
flipud
full
groupcounts
grp2idx
horzcat
ind2sub
inf
intersect
ipermute
iscolumn
isempty
ismatrix
ismember
ismembertol
isrow
isscalar
issorted
issortedrows
isvector
kron
length
linspace
logspace
magic
meshgrid
nan
nchoosek
ndgrid
ndims
nonzeros
numel
ones
peaks
perms
permute
rand
randi
randn
randperm
range
repelem
repmat
reshape
rot90
setdiff
setxor
size
sort
sortrows
sparse
spdiags
speye
splitapply
spones
sprand
squeeze
sub2ind
toeplitz
tril
triu
true
union
unique
vertcat
zeros
Cells Core
cell
cell2mat
cell2struct
cellfun
cellstr
iscell
iscellstr
mat2cell
num2cell
Containers Map
containers.Map
I/O
accept
addpath
arrayDatastore
audioinfo
audioread
cd
clc
copyfile
csvread
csvwrite
delete
detectImportOptions
diary
dir
disp
display
dlmread
dlmwrite
exist
fclose
feof
fgetl
fgets
fileattrib
fileDatastore
fileparts
fileread
filewrite
fopen
format
fprintf
fread
frewind
fullfile
fwrite
genpath
getenv
getpref
gunzip
gzip
h5disp
h5info
h5read
h5write
h5writeatt
hdf5info
hdf5read
hdf5write
importdata
input
isenv
isfile
isfolder
ispref
jsondecode
jsonencode
load
ls
matfile
matlabroot
memmapfile
mkdir
movefile
open
opentoline
parquetDatastore
parquetinfo
parquetread
path
pathsep
pcode
pwd
read
readcell
readline
readlines
readmatrix
readstruct
readtimetable
rehash
restoredefaultpath
rmdir
rmpath
run
save
savepath
sendmail
setenv
setpref
spreadsheetImportOptions
system
tcpclient
tcpserver
tempdir
tempname
textscan
uigetdir
uigetfile
uiputfile
unsetenv
unzip
urldecode
urlencode
userpath
weboptions
webread
websave
webwrite
what
winqueryreg
write
writecell
writelines
writematrix
writetable
writetimetable
xlsread
xlswrite
xmlread
xmlwrite
Math
abs
acos
acosh
all
angle
any
asin
asinh
atan
atan2
atanh
bandwidth
blackman
bounds
bsxfun
butter
buttord
ceil
cheb2ord
chol
complex
cond
coneprog
conj
conv
conv2
cos
cosd
cosh
cospi
cross
ctranspose
cummax
cummin
cumprod
cumsum
cumtrapz
decomposition
deconv
deg2rad
det
diff
digits
dot
double
downsample
eig
eigs
envelope
erf
erfcinv
exp
expm1
factorial
fft
fft2
fftshift
filter
filtfilt
fir1
fix
flintmax
floor
fminbnd
fminunc
freqz
fsolve
fzero
gamma
gammaln
gauspuls
gradient
griddedInterpolant
hamming
hann
heaviside
hilbert
hypot
idivide
ifft
ifft2
ifftshift
imag
int
integral
interp1
interp1q
interp2
intmax
intmin
inv
isdiag
ishermitian
issymmetric
istril
istriu
lcm
ldivide
limit
linprog
linsolve
log
log10
log1p
log2
lsqcurvefit
lsqnonlin
lu
max
maxk
mean
median
min
mink
minus
mldivide
mod
movmax
movmean
movmedian
movmin
movprod
movstd
movsum
movvar
mpower
mrdivide
mtimes
nextpow2
nnz
norm
null
ode15s
ode23
ode45
optimset
pagemtimes
pagetranspose
pchip
periodogram
piecewise
pinv
plus
pol2cart
polyder
polyfit
polyint
polyval
pow2
power
ppval
primes
prod
pulstran
pwelch
qr
quad
rad2deg
rank
rcond
rdivide
real
realmax
realmin
realsqrt
rectpuls
rem
resample
rescale
rms
roots
round
rref
sawtooth
secondordercone
sign
sin
sinc
sind
single
sinh
sinpi
spectrogram
spline
sqrt
square
std
sum
svd
swapbytes
sym
symrcm
syms
tan
tand
tanh
times
trace
transpose
trapz
tripuls
uint32
unwrap
upsample
var
vecnorm
vpa
zplane
Logical
allfinite
and
bitand
bitor
bitshift
eq
ge
gt
isequal
isequaln
isfinite
isgpuarray
isinf
islogical
isnan
isnumeric
isreal
issparse
le
logical
lt
ne
not
or
xor
Stats
bayesopt
binocdf
binornd
bootstrp
boxplot
cdf
cdfplot
chi2cdf
classify
confusionmat
corr
corrcoef
corrcov
cov
cov2corr
crossvalind
cvpartition
datasample
dividerand
dummyvar
ecdf
exprnd
filloutliers
fitclinear
fitctree
fitdist
fitlm
gamrnd
geomean
grpstats
harmmean
histc
histcounts
histcounts2
icdf
isoutlier
kmeans
knnsearch
kstest
kurtosis
lasso
lassoglm
lhsdesign
linkage
lscov
lsline
mad
mnrfit
mode
mvnrnd
nanmax
normalize
normcdf
norminv
normpdf
normrnd
onehotdecode
onehotencode
optimizableVariable
pdf
pdist
pdist2
perfcurve
prctile
predict
quantile
random
randsample
refline
regress
ridge
rmse
rng
skewness
squareform
statget
statset
tabulate
tcdf
test
tiedrank
tinv
tpdf
training
trnd
tsne
ttest2
unidrnd
unifrnd
wblinv
wblrnd
Strings
addDependencyDetails
addEntityDetails
addLemmaDetails
addPartOfSpeechDetails
addSentenceDetails
addTypeDetails
append
bagOfNgrams
bagOfWords
blanks
char
compose
contains
convertCharsToStrings
convertContainedStringsToChars
convertStringsToChars
cosineSimilarity
deblank
digitsPattern
doc2sequence
encode
endsWith
erase
eraseBetween
erasePunctuation
eraseURLs
extractAfter
extractBefore
extractBetween
extractFileText
extractHTMLText
fastTextWordEmbedding
findElement
genvarname
getAttribute
htmlTree
ind2word
insertAfter
insertBefore
int2str
isletter
isspace
isStringScalar
isstrprop
isVocabularyWord
join
lettersPattern
lower
mat2str
matches
native2unicode
newline
normalizeWords
num2str
pad
pattern
readWordEmbedding
regexp
regexpi
regexpPattern
regexprep
removeLongWords
removeShortWords
removeStopWords
removeWords
replace
replaceBetween
reverse
split
splitlines
sprintf
sscanf
startsWith
stopWords
str2double
str2num
strcat
strcmp
strcmpi
strfind
string
string.empty
strings
strip
strjoin
strjust
strlength
strncmp
strncmpi
strrep
strsplit
strtok
strtrim
textBoundary
tokenDetails
tokenizedDocument
trainWordEmbedding
unicode2native
upper
vaderSentimentScores
vec2word
wildcardPattern
word2ind
word2vec
wordEncoding
writeWordEmbedding
Structs Core
fieldnames
getfield
isfield
orderfields
rmfield
setfield
struct
structfun
Image
filter2
fspecial
gray2rgb
hsv2rgb
im2double
im2uint16
im2uint8
imfilter
imfinfo
imhist
imread
imwrite
ind2rgb
lab2rgb
rgb2gray
rgb2hsv
rgb2lab
Acceleration GPU
arrayfun
gather
gpuArray
gpuDevice
gpuInfo
pagefun
General
binscatter
close
qqplot
scatterhist
Introspection
addprop
class
clear
clearAllMemoizedCaches
clearCache
clearvars
dbclear
dbstack
dbstatus
dbtype
evalc
findprop
getcallinfo
inputParser
isa
ischar
isdeployed
iskeyword
ismethod
isobject
isstring
isUnderlyingType
keyboard
matlab.metadata.DynamicProperty.delete
memoize
metaclass
mislocked
mlock
munlock
namelengthmax
onCleanup
stats
superclasses
underlyingType
verLessThan
version
which
who
whos
Diagnostics
assert
error
rethrow
runtests
warning
Timing
cputime
pause
tic
timeit
timer
timerfind
timerfindall
toc
Argument-validation
isvarname
mustBeA
mustBeColumn
mustBeFile
mustBeFinite
mustBeFloat
mustBeFolder
mustBeGreaterThan
mustBeGreaterThanOrEqual
mustBeInRange
mustBeInteger
mustBeLessThan
mustBeLessThanOrEqual
mustBeMember
mustBeNegative
mustBeNonempty
mustBeNonmissing
mustBeNonNan
mustBeNonnegative
mustBeNonpositive
mustBeNonsparse
mustBeNonzero
mustBeNonzeroLengthText
mustBeNumeric
mustBeNumericOrLogical
mustBePositive
mustBeReal
mustBeScalarOrEmpty
mustBeSparse
mustBeText
mustBeTextScalar
mustBeUnderlyingType
mustBeValidVariableName
mustBeVector
namedargs2cell
validateFunctionSignaturesJSON
Comms
bi2de
bin2dec
de2bi
dec2bin
dec2hex
hex2dec
pskmod
qammod
Communications Plotting
scatterplot
Control
damp
db
dcgain
feedback
impulse
isstable
lqr
nyquist
pole
pzmap
rlocus
ss
step
stepinfo
tf
zero
Datetime
calendarDuration
datetime
day
duration
hour
minute
month
second
year
Deep_learning
adamupdate
analyzeNetwork
bilstmLayer
classificationLayer
combvec
convolution1dLayer
crossentropy
dlarray
dlfeval
dlgradient
dlnetwork
dlupdate
eluLayer
exportONNXNetwork
featureInputLayer
forward
fullyConnectedLayer
globalAveragePooling1dLayer
layerGraph
layerNormalizationLayer
lstmLayer
padsequences
regressionLayer
reluLayer
sequenceInputLayer
softmaxLayer
trainingOptions
trainnet
trainNetwork
Finance
blsimpv
blsprice
macd
Geometry Triangulation
DelaunayTri
freeBoundary
nearestNeighbor
pointLocation
Graph
adjacency
bfsearch
conncomp
degree
dfsearch
digraph
distances
findedge
graph
indegree
neighbors
numedges
numnodes
outdegree
predecessors
shortestpath
successors
toposort
treelayout
Missing
anymissing
fillmissing
ismissing
missing
movmad
nanmean
nanmedian
nanmin
nanstd
nansum
nanvar
rmmissing
standardizeMissing
Oop
loadobj
numArgumentsFromSubscript
saveobj
subsasgn
subsref
Plotting
addpoints
ancestor
animatedline
area
axes
axis
bar
barh
box
cla
clf
colorbar
colorcube
colormap
colororder
contour
contour3
contourf
copyobj
daspect
datacursormode
dataTipTextRow
errorbar
fcontour
figure
fill3
findobj
fsurf
gca
gcf
get
gobjects
grid
groot
heatmap
hgload
hgsave
hidden
hist
histogram
histogram2
hold
image
imagesc
imshow
legend
line
linkaxes
loglog
mesh
meshc
openfig
opengl
pan
parula
patch
pie
plot
plot3
plotmatrix
plotyy
polarhistogram
polarplot
polarscatter
print
quiver
quiver3
ribbon
saveas
savefig
scatter
scatter3
semilogx
semilogy
set
sgtitle
shading
sphere
stackedplot
stairs
stem
subplot
subtitle
suptitle
surf
surfc
textscatter
textscatter3
title
triplot
view
waitbar
wordcloud
xline
xscale
xtickangle
xtickformat
xticklabels
xticks
yline
yscale
ytickangle
ytickformat
yticklabels
yticks
zlabel
zoom
Table
array2table
array2timetable
categorical
cell2table
dictionary
head
iscategorical
isordinal
istable
istimetable
ordinal
pivot
rowfilter
struct2table
table2array
table2cell
table2struct
table2timetable
timerange
timetable
timetable2table
uitable
vartype