Skip to content
MathJet Docs
Search
Ctrl
K
Cancel
Getting started
Your first analysis in MathJet
How-to guides
Loading and saving Excel files
Calling Python from the formula bar
Connecting to a Jupyter server
Migration guides
Migrating from MATLAB
Reference
Graphical User Interface
Graphical User Interface
Window Layout
Workspace Manager
Environment Window
Data Source Window
Overview Window
Graph Companion
Command Editor
Command Recorder
Debug Windows
File Browser
Property Editor
Find and Replace
Interactive Visualization
Interactive Visualization
Viewing
Selecting
Probing
Markers
Filtering
Analysis
Editing
Annotation
Chart and axis splitting
Chart layout
Find and replace
Built-in Functions
Overview
Data analysis
Overview
Convolution
Overview
conv
Descriptive statistics
Overview
avgabs
cov
integ
integabs
mean
median
pk2pk
rms
std
var
XAtYMax
XAtYMin
XAtYVal
XWidthAtYVal
YAtXMax
YAtXMin
YAtXVal
Filter
Overview
filter
Fourier Transform
Overview
fft
fft2
fftn
Polynomial
Overview
polyfit
polyval
Environment and system
Overview
cd
clc
clear
copyfile
delete
dir
enable
exist
exit
home
i
intmax
intmin
j
lf
mkdir
movefile
pause
pi
pwd
rmdir
run
sdvt
sizemax
tabulate
type
who
whos
File I/O
Overview
File Name Construction
Overview
filemarker
fileparts
filesep
fullfile
File Open/Save/Load
Overview
load
save
Low Level File I/O
Overview
fprintf
Text Files
Overview
csvread
csvwrite
dlmread
dlmwrite
xlsread
xlswrite
Graphics
Overview
3D Visualization
Overview
boxplot
camdolly
camlight
camlookat
camorbit
campan
campos
camproj
camroll
camtarget
camup
camva
camzoom
colorbar
colormap
cylinder
daspect
drawnow
heatmap
layoutaxes
legend
light
lightangle
lighting
material
mesh
meshc
meshgrid
meshz
moveaxes
pbaspect
pcolor
pcolor3
peaks
ribbon
rotate
shading
sphere
splitaxes
stem3
surf
surface
surfc
surfl
surfnorm
view
violinplot
waterfall
yysplit
Basic Plot and Graphics
Overview
area
area3
axes
axis
bar
bar3
bar3h
barh
belt
box
bubble
bubble3
bubble3d
caxis
clf
close
compass
coneplot
contour
contour3
contourf
contourslice
cubeplot
curl
curve
cylinderplot
divergence
dmarker
donut
donut3
errorbar
feather
figure
fill
fill3
gca
gcf
gcs
get
gradient
graph
grid
hidden
histogram
hold
isosurface
line3d
loglog
marker
patch
pie
pie3
plot
plot3
plotmatrix
plotyy
polar
quiver
quiver3
radar
radarf
rose
scatter
scatter3
semilogx
semilogy
set
slice
sphereplot
spy
stairs
stem
step
stream2
stream3
streamline
streamribbon
streamslice
streamtube
subplot
title
tube
volumebounds
xlabel
xlim
xmarker
xticklabels
xticks
ylabel
ylim
ymarker
yticklabels
yticks
zlabel
zlim
zticklabels
zticks
Misc
Overview
switchtracetype
Shapes
Overview
draw
group
shape
ungroup
Mathematics
Overview
Array Manipulations
Overview
blkdiag
cat
circshift
diag
flipdim
fliplr
flipud
ipermute
permute
repelem
repmat
reshape
rot90
sortrows
squeeze
Array Operations
Overview
all
any
cross
ctranspose
cumprod
cumsum
dot
horzcat
idivide
mldivide
mpower
mrdivide
mtimes
prod
sum
tril
triu
vertcat
Basic Information
Overview
disp
iscomplex
isempty
isequal
isequalwithequalnans
isfinite
isinf
isinteger
isintegral
islogical
isna
isnan
isnonzero
isnumeric
ispositive
isreal
isrealint
isrealpositiveint
isscalar
isvalid
isvector
iszero
length
max
min
ndims
numel
size
size_equal
sizeof
Complex
Overview
abs
complex
conj
db
db20
degree
imag
mag
norm
phase
real
sign
Elementary Math
Overview
Aggregations
Overview
maxel
minel
Arithmetic Operations
Overview
atan2
atan2d
hypot
ldivide
maxb
minb
minus
mod
plus
power
rdivide
rem
times
Bitwise Operations
Overview
bitand
bitget
bitor
bitset
bitshift
bitxor
Excel Logical Operations
Overview
xeq
xge
xgt
xle
xlt
xne
Exponential
Overview
cube
db
db20
exp
log
log10
log2
nthroot
pow4
pow5
pow6
pow7
pow8
sqr
sqrt
Logical Operations
Overview
and
eq
equalwithequalnans
ge
gt
le
lt
ne
or
sc_eq
sc_ge
sc_gt
sc_le
sc_lt
sc_ne
xor
Rounding
Overview
ceil
fix
floor
round
Sum Operations
Overview
sumx2my2
sumx2py2
sumxmy
sumxmy2
sumxpy
sumxpy2
Trigonometric
Overview
acos
acosd
acosh
acot
acotd
acoth
acsc
acscd
acsch
asec
asecd
asech
asin
asind
asinh
atan
atand
atanh
cos
cosd
cosh
cot
cotd
coth
csc
cscd
csch
sec
secd
sech
sin
sind
sinh
tan
tand
tanh
Elementary Matrices and Arrays
Overview
eye
false
ind2sub
inf
linspace
logspace
magic
nan
ones
pascal
rand
randh
randi
randn
rands
strings
sub2ind
true
zeros
Linear Algebra
Overview
chol
cond
condest
det
eig
expm
hess
inv
linsolve
lu
norm
null
qr
rank
rcond
schur
sqrtm
svd
trace
Matrix Function
Overview
bsxfun
Numerical Integration and Differential Equations
Overview
diff
Sparse Matrices
Overview
full
issparse
nnz
nonzeros
nzmax
spalloc
sparse
speye
spones
sprand
sprandn
Statistics
Overview
normrnd
Unary Operator
Overview
lognum
uminus
unot
uplus
Object-oriented programming
Overview
addlistener
class
events
methods
notify
properties
Programming and data types
Overview
Categorical
Overview
addcats
categorical
categories
countcats
discretize
iscategorical
iscategory
isordinal
isprotected
isundefined
mergecats
removecats
renamecats
reordercats
setcats
summary
Cell
Overview
cell
cellfun
cellstr
iscell
iscellstr
num2cell
Date and Time Operations
Overview
addtodate
clock
date
datestr
datevec
now
tic
toc
Error Handling
Overview
addCause
error
lasterror
throw
warning
Evaluation
Overview
assign
builtin
iskeyword
isvarname
M-functions and scripts
Overview
mfilename
nargchk
nargin
nargout
nargoutchk
Memory
Overview
isglobal
Object
Overview
getReport
MException
TextObj
Strings
Overview
append
assert
blanks
deal
deblank
eps
erase
eraseBetween
eval
evalc
evalin
findstr
input
inputname
ischar
isletter
isspace
isstrprop
join
lower
newline
pi
realmax
realmin
regexp
regexpi
reverse
sprintf
strcat
strcmp
strcmpi
strfind
strncmp
strncmpi
strrep
strtrim
strtrunc
strvcat
upper
Structure
Overview
fieldnames
getfield
isfield
isstruct
orderfields
rmfield
setfield
struct
Table
Overview
array2table
cell2table
readtable
struct2table
table
table2array
Type Conversion
Overview
cast
cell2mat
cell2struct
char
double
int16
int32
int64
int8
mat2cell
num2str
single
struct2cell
uint16
uint32
uint64
uint8
Sheets
Overview
Tables
Overview
collapse
expand
resize
Worksheet
Overview
applycxf
applyxf
clearcells
copycells
deletecells
deletecols
deleterows
dissociate
groupcols
grouprows
hidecols
hiderows
insertcells
insertcols
insertrows
mergecells
mergehorz
mergevert
movecells
movetable
pincol
pinrow
removecxf
sortcells
ungroupcols
ungrouprows
unhidecols
unhiderows
unpincol
unpinrow
Spreadsheet formulas
Overview
Date & Time
Overview
date
datedif
datevalue
day
days
days360
edate
eomonth
hour
isoweeknum
minute
month
networkdays
now
second
time
timevalue
today
weekday
weeknum
workday
year
yearfrac
Engineering
Overview
airy
besseli
besselj
besselk
bessely
beta
betainc
betaincinv
betaln
bin2dec
bin2hex
bin2oct
bitand
bitlshift
bitor
bitrshift
bitxor
ellipj
ellipke
erf
erfc
erfcinv
erfcx
erfinv
expint
gamma
gammainc
gammaincinv
gammaln
hankel
hermite
legendre
polygamma
Financial
Overview
accrint
accrintm
coupdaybs
coupdays
coupdaysnc
coupncd
coupnum
couppcd
cumipmt
ddb
disc
dollarde
dollarfr
duration
effect
fv
fvschedule
intrate
ipmt
irr
ispmt
mduration
mirr
nominal
nper
npv
oddfprice
oddlprice
pduration
pmt
ppmt
price
pricedisc
pricemat
pv
rate
received
rri
sln
syd
tbilleq
tbillprice
tbillyield
vdb
xdb
xirr
xnpv
yield
yielddisc
yieldmat
Information
Overview
cell
errortype
info
isblank
iserr
iserror
iseven
isna
isnontext
isodd
isref
istext
n
na
sheet
sheets
type
Lookup & Reference
index
address
areas
choose
column
columns
formulatext
hlookup
indirect
lookup
match
offset
row
rows
sort
sortby
transpose
vlookup
xlookup
xmatch
Math & Trigonometry
Overview
arabic
base
ceiling
combin
combina
decimal
degrees
even
fact
factdouble
gcd
int
lcm
ln
mmult
mround
multinomial
munit
odd
product
quotient
radians
randarray
randbetween
roman
rounddown
roundup
sequence
seriessum
sqrtpi
subtotal
sumif
sumifs
sumproduct
sumsq
sumx2my2
sumx2py2
sumxmy2
trunc
Statistical
Overview
avedev
average
averagea
averageif
averageifs
beta_dist
beta_inv
binom_dist
binom_dist_range
binom_inv
chisq_dist
chisq_dist_rt
chisq_inv
chisq_inv_rt
chisq_test
confidence_norm
confidence_t
count
counta
countblank
countif
countifs
covariance_p
covariance_s
devsq
expon_dist
f_dist
f_dist_rt
f_inv
f_inv_rt
f_test
fisher
fisherinv
forecast_linear
frequency
gamma_dist
gauss
geomean
growth
harmean
hypgeom_dist
intercept
kurt
kurt_p
large
linest
logest
lognorm_dist
lognorm_inv
maxa
maxifs
mina
minifs
mode_mult
mode_sngl
negbinom_dist
norm_dist
norm_inv
norm_s_dist
norm_s_inv
pearson
percentile_exc
percentile_inc
permut
permutationa
phi
poisson_dist
prob
quartile_exc
quartile_inc
rank_avg
rank_eq
rsq
skew
skew_p
slope
small
standardize
stdev_p
stdev_s
stdeva
stdevpa
steyx
t_dist
t_dist_2t
t_dist_rt
t_inv
t_inv_2t
t_test
trend
trimmean
var_p
var_s
vara
varpa
weibull_dist
z_test
Text
Overview
arraytotext
char
clean
code
dollar
find
fixed
left
leftb
len
lenb
mid
midb
numbervalue
proper
replace
rept
right
rightb
search
substitute
t
text
textjoin
value
concat
Explanation
Overview
asech
Inverse hyperbolic secant.
Syntax
Section titled “Syntax”
Y = asech(X)
Description
Section titled “Description”
Defined for
X
in
(0, 1]
.
See also
Section titled “See also”
asec
— Inverse secant (radians).
sech
— Hyperbolic secant.