| Function Name | Description |
| Logical Operators: Short-Circuit && || | Logical operations with short-circuiting |
function_handle | Handle to function |
A
| Function Name | Description |
arrayfun
| Apply function to each element of array |
abs
| Absolute value and complex magnitude |
acos
| Inverse cosine in radians |
acosd
| Inverse cosine in degrees |
acosh
| Inverse hyperbolic cosine |
acot
| Inverse cotangent in radians |
acotd
| Inverse cotangent in degrees |
acoth
| Inverse hyperbolic cotangent |
acsc
| Inverse cosecant in radians |
acscd
| Inverse cosecant in degrees |
acsch
| Inverse hyperbolic cosecant |
angle
| Phase angle |
asec
| Inverse secant in radians |
asecd
| Inverse secant in degrees |
asech
| Inverse hyperbolic secant |
asin
| Inverse sine in radians |
asind
| Inverse sine in degrees |
asinh
| Inverse hyperbolic sine |
atan
| Inverse tangent in radians |
atan2
| Four-quadrant inverse tangent |
atan2d
| Four-quadrant inverse tangent in degrees |
atand
| Inverse tangent in degrees |
atanh
| Inverse hyperbolic tangent |
accumarray
| Accumulate vector elements |
assert
| Throw error if condition false |
all
| Determine if all array elements are nonzero or true |
and
| Find logical AND |
any
| Determine if any array elements are nonzero |
alphaShape
| Polygons and polyhedra from points in 2-D and 3-D |
amd
| Approximate minimum degree permutation |
airy
| Airy Functions |
B
| Function Name | Description |
bounds
| Minimum and maximum values of an array |
blkdiag
| Block diagonal matrix |
balance
| Diagonal scaling to improve eigenvalue accuracy |
bandwidth
| Lower and upper matrix bandwidth |
bitand
| Bit-wise AND |
bitcmp
| Bit-wise complement |
bitget
| Get bit at specified position |
bitor
| Bit-wise OR |
bitset
| Set bit at specific location |
bitshift
| Shift bits specified number of places |
bitxor
| Bit-wise XOR |
boundary
| Boundary of a set of points in 2-D or 3-D |
bicg
| Solve system of linear equations — biconjugate gradients method |
bicgstab
| Solve system of linear equations — stabilized biconjugate gradients method |
bicgstabl
| Solve system of linear equations — stabilized biconjugate gradients (l) method |
besselh
| Bessel function of third kind (Hankel function) |
besseli
| Modified Bessel function of first kind |
besselj
| Bessel function of first kind |
besselk
| Modified Bessel function of second kind |
bessely
| Bessel function of second kind |
beta
| Beta function |
betainc
| Incomplete beta function |
betaincinv
| Beta inverse cumulative distribution function |
betaln
| Logarithm of beta function |
base2dec
| Convert text representation of base- n integer to double value |
bin2dec
| Convert text representation of binary integer to double value |
blanks
| Create character array of blanks |
bsxfun
| Apply element-wise operation to two arrays with implicit expansion enabled |
builtin
| Execute built-in function from overloaded method |
bvp4c
| Solve boundary value problem — fourth-order method |
bvp5c
| Solve boundary value problem — fifth-order method |
bvpinit
| Form initial guess for boundary value problem solver |
bandpower (Signal Processing Toolbox)
| Band power |
C
| Function Name | Description |
checkcode
| Check MATLAB code files for possible problems |
conv
| Convolution and polynomial multiplication |
conv2
| 2-D convolution |
convn
| N-D convolution |
corrcoef
| Correlation coefficients |
cov
| Covariance |
cummax
| Cumulative maximum |
cummin
| Cumulative minimum |
cumprod
| Cumulative product |
cumsum
| Cumulative sum |
cumtrapz
| Cumulative trapezoidal numerical integration |
cast
| Convert variable to different data type |
cell
| Cell array |
cell2mat
| Convert cell array to ordinary array of the underlying data type |
cell2struct
| Convert cell array to structure array |
cellfun
| Apply function to each cell in cell array |
class
| Class of object |
ceil
| Round toward positive infinity |
complex
| Create complex array |
conj
| Complex conjugate |
cos
| Cosine of argument in radians |
cosd
| Cosine of argument in degrees |
cosh
| Hyperbolic cosine |
cot
| Cotangent of angle in radians |
cotd
| Cotangent of argument in degrees |
coth
| Hyperbolic cotangent |
cplxpair
| Sort complex numbers into complex conjugate pairs |
csc
| Cosecant of input angle in radians |
cscd
| Cosecant of argument in degrees |
csch
| Hyperbolic cosecant |
cat
| Concatenate arrays |
circshift
| Shift array circularly |
colon
| Vector creation, array subscripting, and for -loop iteration |
compan
| Companion matrix |
computer
| Information about computer on which MATLAB is running |
cmap2gray
| Convert RGB colormap to grayscale colormap |
cdf2rdf
| Convert complex diagonal form to real block diagonal form |
chol
| Cholesky factorization |
cholupdate
| Rank 1 update to Cholesky factorization |
cond
| Condition number for inversion |
condeig
| Condition number with respect to eigenvalues |
condest
| 1-norm condition number estimate |
ctranspose
| Complex conjugate transpose |
convhull
| Convex hull |
convhulln
| N-D convex hull |
circumcenter
| Circumcenter of triangle or tetrahedron |
cgs
| Solve system of linear equations — conjugate gradients squared method |
colamd
| Column approximate minimum degree permutation |
colperm
| Sparse column permutation based on nonzero count |
cart2pol
| Transform Cartesian coordinates to polar or cylindrical |
cart2sph
| Transform Cartesian coordinates to spherical |
cross
| Cross product |
cellstr
| Convert to cell array of character vectors |
char
| Character array |
compose
| Format data into multiple strings |
contains
| Determine if pattern is in strings |
count
| Count occurrences of pattern in strings |
clock
| Current date and time as date vector |
cputime
| CPU time used by MATLAB |
celldisp
| Display cell array contents |
containers.Map
| Object that maps values to unique keys |
czt (Signal Processing Toolbox)
| Chirp Z-transform |
chirp (Signal Processing Toolbox)
| Swept-frequency cosine |
D
| Function Name | Description |
deconv
| Deconvolution and polynomial division |
del2
| Discrete Laplacian |
detrend
| Remove polynomial trend |
diff
| Differences and approximate derivatives |
discretize
| Group data into bins or categories |
deal
| Distribute inputs to outputs |
deg2rad
| Convert angle from degrees to radians |
diag
| Create diagonal matrix or get diagonal elements of matrix |
disp
| Display value of variable |
dir
| List folder contents |
details
| Display array details |
display
| Show information about variable or result of expression |
decomposition
| Matrix decomposition for solving linear systems |
det
| Matrix determinant |
delaunay
| Delaunay triangulation |
delaunayTriangulation
| Delaunay triangulation in 2-D and 3-D |
delaunayn
| N-D Delaunay triangulation |
dsearchn
| Nearest point search |
dissect
| Nested dissection permutation |
dmperm
| Dulmage-Mendelsohn decomposition |
dot
| Dot product |
deblank
| Remove trailing whitespace from ends of strings |
dec2base
| Convert decimal integer to its base- n representation |
dec2bin
| Convert decimal integer to its binary representation |
dec2hex
| Convert decimal integer to its hexadecimal representation |
date
| Current date as character vector |
datestr
| Convert date and time to string format |
dbstack
| Function call stack |
deval
| Evaluate differential equation solution structure |
dutycycle (Signal Processing Toolbox)
| Duty cycle of pulse waveform |
dct (Signal Processing Toolbox)
| Discrete cosine transform |
E
| Function Name | Description |
enumeration
| Class enumeration members and names |
events
| Event names |
exp
| Exponential |
expm1
| Compute exp(x)-1 accurately for small values of x |
eps
| Floating-point relative accuracy |
eye
| Identity matrix |
evalc
| Evaluate MATLAB expression and capture results |
eig
| Eigenvalues and eigenvectors |
eigs
| Subset of eigenvalues and eigenvectors |
expm
| Matrix exponential |
eq
| Determine equality |
edges
| Triangulation edges |
equilibrate
| Matrix scaling for improved conditioning |
etree
| Elimination tree |
ellipj
| Jacobi elliptic functions |
ellipke
| Complete elliptic integrals of first and second kind |
erf
| Error function |
erfc
| Complementary error function |
erfcinv
| Inverse complementary error function |
erfcx
| Scaled complementary error function |
erfinv
| Inverse error function |
expint
| Exponential integral function |
endsWith
| Determine if strings end with pattern |
erase
| Delete substrings within strings |
eraseBetween
| Delete substrings between start and end points |
extractAfter
| Extract substrings after specified positions |
extractBefore
| Extract substrings before specified positions |
extractBetween
| Extract substrings between start and end points |
end
| Terminate block of code or indicate last array index |
error
| Throw error and display message |
etime
| Time elapsed between date vectors |
eval
| Evaluate MATLAB expression |
F
| Function Name | Description |
fft
| Fast Fourier transform |
fft2
| 2-D fast Fourier transform |
fftn
| N-D fast Fourier transform |
fftshift
| Shift zero-frequency component to center of spectrum |
fftw
| Define method for determining FFT algorithm |
fillmissing
| Fill missing values |
filloutliers
| Detect and replace outliers in data |
filter
| 1-D digital filter |
filter2
| 2-D digital filter |
findgroups
| Find groups and return group numbers |
fieldnames
| Field names of structure, or public fields of Java or COM Microsoft object |
func2str
| Construct character vector from function handle |
functions
| Information about function handle |
fix
| Round toward zero |
floor
| Round toward negative infinity |
false
| Logical 0 (false) |
find
| Find indices and values of nonzero elements |
flintmax
| Largest consecutive integer in floating-point format |
flip
| Flip order of elements |
fliplr
| Flip array left to right |
flipud
| Flip array up to down |
freqspace
| Frequency spacing for frequency response |
funm
| Evaluate general matrix function |
fminbnd
| Find minimum of single-variable function on fixed interval |
fminsearch
| Find minimum of unconstrained multivariable function using derivative-free method |
fzero
| Root of nonlinear function |
full
| Convert sparse matrix to full storage |
factor
| Prime factors |
factorial
| Factorial of input |
filesep
| File separator for current platform |
flow
| Simple function of three variables |
format
| Set Command Window output display format |
fprintf
| Write data to text file |
fullfile
| Build full file name from parts |
G
| Function Name | Description |
gradient
| Numerical gradient |
groupcounts
| Number of group elements |
groupfilter
| Filter by group |
groupsummary
| Group summary computations |
grouptransform
| Transform by group |
getfield
| Field of structure array |
gallery
| Test matrices |
getrangefromclass
| Default display range of image based on its class |
genvarname
| Construct valid variable name from string |
gsvd
| Generalized singular value decomposition |
ge
| Determine greater than or equal to |
gt
| Determine greater than |
griddata
| Interpolate 2-D or 3-D scattered data |
griddatan
| Interpolate N-D scattered data |
griddedInterpolant
| Gridded data interpolation |
gmres
| Solve system of linear equations — generalized minimum residual method |
gamma
| Gamma function |
gammainc
| Incomplete gamma function |
gammaincinv
| Inverse incomplete gamma function |
gammaln
| Logarithm of gamma function |
gcd
| Greatest common divisor |
getenv
| Environment variable |
H
| Function Name | Description |
histcounts
| Histogram bin counts |
histcounts2
| Bivariate histogram bin counts |
hypot
| Square root of sum of squares (hypotenuse) |
hadamard
| Hadamard matrix |
hankel
| Hankel matrix |
height
| Number of table rows |
hilb
| Hilbert matrix |
hsv2rgb
| Convert HSV colors to RGB |
hess
| Hessenberg form of matrix |
horzcat
| Concatenate arrays horizontally |
hex2dec
| Convert text representation of hexadecimal integer to double value |
hex2num
| Convert IEEE hexadecimal format to double-precision number |
histc
| Histogram bin counts (not recommended; use histcounts ) |
I
| Function Name | Description |
ifft
| Inverse fast Fourier transform |
ifft2
| 2-D inverse fast Fourier transform |
ifftn
| Multidimensional inverse fast Fourier transform |
ifftshift
| Inverse zero-frequency shift |
ischange
| Find abrupt changes in data |
islocalmax
| Find local maxima |
islocalmin
| Find local minima |
ismissing
| Find missing values |
isoutlier
| Find outliers in data |
issorted
| Determine if array is sorted |
issortedrows
| Determine if matrix or table rows are sorted |
int16
| 16-bit signed integer arrays |
int32
| 32-bit signed integer arrays |
int64
| 64-bit signed integer arrays |
int8
| 8-bit signed integer arrays |
isUnderlyingType
| Determine whether input has specified underlying data type |
isa
| Determine if input has specified data type |
iscell
| Determine if input is cell array |
isfield
| Determine if input is structure array field |
isfloat
| Determine if input is floating-point array |
isinteger
| Determine whether input is integer array |
islogical
| Determine if input is logical array |
ismethod
| Determine if object has specified method |
isnumeric
| Determine whether input is numeric array |
isobject
| Determine if input is MATLAB object |
isprop
| True if property exists |
isstruct
| Determine if input is structure array |
imag
| Imaginary part of complex number |
isreal
| Determine whether array uses complex storage |
ind2sub
| Convert linear indices to subscripts |
Inf
| Create array of all Inf values |
intmax
| Largest value of specific integer type |
intmin
| Smallest value of specified integer type |
invhilb
| Inverse of Hilbert matrix |
ipermute
| Inverse permute array dimensions |
iscolumn
| Determine whether input is column vector |
isempty
| Determine whether array is empty |
isequal
| Determine array equality |
isequaln
| Determine array equality, treating NaN values as equal |
isfinite
| Determine which array elements are finite |
isinf
| Determine which array elements are infinite |
ismatrix
| Determine whether input is matrix |
isnan
| Determine which array elements are NaN |
isrow
| Determine whether input is row vector |
isscalar
| Determine whether input is scalar |
isvector
| Determine whether input is vector |
isfile
| Determine if input is file |
isfolder
| Determine if input is folder |
ispc
| Determine if version is for Windows (PC) platform |
isunix
| Determine if version is for Linux or Mac platforms |
im2double
| Convert image to double precision |
im2gray
| Convert RGB image to grayscale |
imtile
| Combine multiple image frames into one rectangular tiled image |
ind2rgb
| Convert indexed image to RGB image |
inputParser
| Input parser for functions |
iskeyword
| Determine whether input is MATLAB keyword |
isvarname
| Determine if input is valid variable name |
inv
| Matrix inverse |
isbanded
| Determine if matrix is within specific bandwidth |
isdiag
| Determine if matrix is diagonal |
ishermitian
| Determine if matrix is Hermitian or skew-Hermitian |
issymmetric
| Determine if matrix is symmetric or skew-symmetric |
istril
| Determine if matrix is lower triangular |
istriu
| Determine if matrix is upper triangular |
idivide
| Integer division with rounding option |
ismember
| Array elements that are members of set array |
inpolygon
| Points located inside or on edge of polygonal region |
interp1
| 1-D data interpolation (table lookup) |
interp2
| Interpolation for 2-D gridded data in meshgrid format |
interp3
| Interpolation for 3-D gridded data in meshgrid format |
interpft
| 1-D interpolation (FFT method) |
interpn
| Interpolation for 1-D, 2-D, 3-D, and N-D gridded data in ndgrid format |
incenter
| Incenter of triangulation elements |
ichol
| Incomplete Cholesky factorization |
ilu
| Incomplete LU factorization |
issparse
| Determine whether input is sparse |
isprime
| Determine which array elements are prime |
insertAfter
| Insert strings after specified substrings |
insertBefore
| Insert strings before specified substrings |
int2str
| Convert integers to characters |
iscellstr
| Determine if input is cell array of character vectors |
ischar
| Determine if input is character array |
isstring
| Determine if input is string array |
isstrprop
| Determine which characters in input strings are of specified category |
i
| Imaginary unit |
inmem
| Names of functions, MEX-files, classes in memory |
inputname
| Variable name of function input |
integral
| Numerical integration |
integral2
| Numerically evaluate double integral |
integral3
| Numerically evaluate triple integral |
interp1q
| Quick 1-D linear interpolation |
iscom
| Determine whether input is COM object |
isenum
| Determine if variable is enumeration |
isinterface
| Determine whether input is COM interface |
ismac
| Determine if version is for macOS platform |
ismembertol
| Members of set within tolerance |
K
| Function Name | Description |
kron
| Kronecker tensor product |
L
| Function Name | Description |
logical
| Convert numeric values to logicals |
log
| Natural logarithm |
log10
| Common logarithm (base 10) |
log1p
| Compute log(1+x) accurately for small values of x |
log2
| Base 2 logarithm and floating-point number dissection |
length
| Length of largest array dimension |
linspace
| Generate linearly spaced vector |
logspace
| Generate logarithmically spaced vector |
ldl
| Block LDL' factorization for Hermitian indefinite matrices |
linsolve
| Solve linear system of equations |
logm
| Matrix logarithm |
lscov
| Least-squares solution in presence of known covariance |
lsqminnorm
| Minimum norm least-squares solution to linear equation |
lu
| LU matrix factorization |
ldivide
| Left array division |
le
| Determine less than or equal to |
lt
| Determine less than |
lsqnonneg
| Solve nonnegative linear least-squares problem |
lsqr
| Solve system of linear equations — least-squares method |
lcm
| Least common multiple |
legendre
| Associated Legendre functions |
lower
| Convert strings to lowercase |
lastwarn
| Last warning message |
license
| Get license number or perform licensing task |
M
| Function Name | Description |
mlint
| Check MATLAB code files for possible problems |
max
| Maximum elements of an array |
maxk
| Find k largest elements of array |
mean
| Average or mean value of array |
median
| Median value of array |
min
| Minimum elements of an array |
mink
| Find k smallest elements of array |
mode
| Most frequent values in array |
movmad
| Moving median absolute deviation |
movmax
| Moving maximum |
movmean
| Moving mean |
movmedian
| Moving median |
movmin
| Moving minimum |
movprod
| Moving product |
movstd
| Moving standard deviation |
movsum
| Moving sum |
movvar
| Moving variance |
mat2cell
| Convert array to cell array whose cells contain subarrays |
mod
| Remainder after division (modulo operation) |
magic
| Magic square |
meshgrid
| 2-D and 3-D grids |
MException
| Capture error information |
mislocked
| Determine if function or script is locked in memory |
mldivide
| Solve systems of linear equations Ax = B for x |
mrdivide
| Solve systems of linear equations xA = B for x |
metaclass
| Obtain meta.class object |
minus
| Subtraction |
mpower
| Matrix power |
mtimes
| Matrix multiplication |
makima
| Modified Akima piecewise cubic Hermite interpolation |
minres
| Solve system of linear equations — minimum residual method |
mat2str
| Convert matrix to characters |
matches
| Determine if pattern matches strings |
matlabroot
| root folder MATLAB |
memory
| Memory information |
mfilename
| File name of currently running code |
milliseconds
| Duration in milliseconds |
missing
| Create missing values |
mkpp
| Make piecewise polynomial |
mlock
| Prevent clearing function or script from memory |
meanfreq (Signal Processing Toolbox)
| Mean frequency |
medfreq (Signal Processing Toolbox)
| Median frequency |
N
| Function Name | Description |
normalize
| Normalize data |
nufft
| Nonuniform fast Fourier transform |
nufftn
| N-D nonuniform fast Fourier transform |
namedargs2cell
| Convert structure containing name-value pairs to cell array |
num2cell
| Convert array to cell array with consistently sized cells |
nextpow2
| Exponent of next higher power of 2 |
nthroot
| Real nth root of real numbers |
NaN
| Create array of all NaN values |
ndgrid
| Rectangular grid in N-D space |
ndims
| Number of array dimensions |
numel
| Number of array elements |
namelengthmax
| Maximum identifier length |
norm
| Vector and matrix norms |
normest
| 2-norm estimate |
null
| Null space of matrix |
ne
| Determine inequality |
not
| Find logical NOT |
neighbors
| Triangle or tetrahedron neighbors |
nnz
| Number of nonzero matrix elements |
nonzeros
| Nonzero matrix elements |
nzmax
| Amount of storage allocated for nonzero matrix elements |
nchoosek
| Binomial coefficient or all combinations |
native2unicode
| Convert numeric bytes to Unicode character representation |
num2hex
| Convert single- and double-precision numbers to IEEE hexadecimal format |
num2str
| Convert numbers to character array |
NaT
| Not-a-Time |
nargin
| Number of function input arguments |
narginchk
| Validate number of input arguments |
nargout
| Number of function output arguments |
nargoutchk
| Validate number of output arguments |
now
| Current date and time as serial date number |
O
| Function Name | Description |
orderfields
| Order fields of structure array |
ones
| Create array of all ones |
ordeig
| Eigenvalues of quasitriangular matrices |
ordqz
| Reorder eigenvalues in QZ factorization |
ordschur
| Reorder eigenvalues in Schur factorization |
orth
| Orthonormal basis for range of matrix |
or
| Find logical OR |
optimget
| Optimization options values |
optimset
| Create or modify optimization options structure |
onCleanup
| Cleanup tasks upon function completion |
P
| Function Name | Description |
prod
| Product of array elements |
properties
| Class property names |
pow2
| Base 2 power and scale floating-point numbers |
pascal
| Pascal matrix |
permute
| Permute array dimensions |
pi
| Ratio of circle's circumference to its diameter |
pinv
| Moore-Penrose pseudoinverse |
planerot
| Givens plane rotation |
polyeig
| Polynomial eigenvalue problem |
pagectranspose
| Page-wise complex conjugate transpose |
pagemtimes
| Page-wise matrix multiplication |
pagetranspose
| Page-wise transpose |
plus
| Add numbers, append strings |
power
| Element-wise power |
pchip
| Piecewise Cubic Hermite Interpolating Polynomial (PCHIP) |
poly
| Polynomial with specified roots or characteristic polynomial |
polyarea
| Area of polygon |
polyder
| Polynomial differentiation |
polyfit
| Polynomial curve fitting |
polyint
| Polynomial integration |
polyval
| Polynomial evaluation |
polyvalm
| Matrix polynomial evaluation |
ppval
| Evaluate piecewise polynomial |
pcg
| Solve system of linear equations — preconditioned conjugate gradients method |
perms
| All possible permutations |
pol2cart
| Transform polar or cylindrical coordinates to Cartesian |
primes
| Prime numbers less than or equal to input value |
psi
| Digamma and polygamma functions |
pad
| Add leading or trailing characters to strings |
peak2peak (Signal Processing Toolbox)
| Maximum-to-minimum difference |
peak2rms (Signal Processing Toolbox)
| Peak-magnitude-to-RMS ratio |
pwelch (Signal Processing Toolbox)
| Welch’s power spectral density estimate |
Q
| Function Name | Description |
qr
| QR decomposition |
qrdelete
| Remove column or row from QR factorization |
qrinsert
| Insert column or row into QR factorization |
qrupdate
| Rank 1 update to QR factorization |
qz
| QZ factorization for generalized eigenvalues |
qmr
| Solve system of linear equations — quasi-minimal residual method |
R
| Function Name | Description |
rescale
| Scale range of array elements |
rmmissing
| Remove missing entries |
rmoutliers
| Detect and remove outliers in data |
rmfield
| Remove fields from structure |
rad2deg
| Convert angle from radians to degrees |
real
| Real part of complex number |
reallog
| Natural logarithm for nonnegative real arrays |
realpow
| Array power for real-only output |
realsqrt
| Square root for nonnegative real arrays |
rem
| Remainder after division |
round
| Round to nearest decimal or integer |
realmax
| Largest positive floating-point number |
realmin
| Smallest normalized floating-point number |
repelem
| Repeat copies of array elements |
repmat
| Repeat copies of array |
reshape
| Reshape array |
rosser
| Classic symmetric eigenvalue test problem |
rot90
| Rotate array 90 degrees |
rgb2gray
| Convert RGB image or colormap to grayscale |
rgb2hsv
| Convert RGB colors to HSV |
rank
| Rank of matrix |
rcond
| Reciprocal condition number |
rref
| Reduced row echelon form (Gauss-Jordan elimination) |
rsf2csf
| Convert real Schur form to complex Schur form |
rdivide
| Right array division |
rectint
| Rectangle intersection area |
roots
| Polynomial roots |
rat
| Rational fraction approximation |
rats
| Rational output |
regexp
| Match regular expression (case sensitive) |
regexpi
| Match regular expression (case insensitive) |
regexprep
| Replace text using regular expression |
replace
| Find and replace one or more substrings |
replaceBetween
| Replace substrings between start and end points |
reverse
| Reverse order of characters in strings |
RandStream
| Random number stream |
RandStream.getGlobalStream
| Get current global random number stream |
RandStream.setGlobalStream
| Set global random number stream |
rand
| Uniformly distributed random numbers |
randi
| Uniformly distributed pseudorandom integers |
randn
| Normally distributed random numbers |
rethrow
| Reissue error |
rng
| Control random number generator |
rms (Signal Processing Toolbox)
| Root-mean-square level |
rssq (Signal Processing Toolbox)
| Root-sum-of-squares level |
S
| Function Name | Description |
smoothdata
| Smooth noisy data |
sort
| Sort array elements |
sortrows
| Sort rows of matrix or table |
splitapply
| Split data into groups and apply function |
standardizeMissing
| Insert standard missing values |
std
| Standard deviation |
sum
| Sum of array elements |
setfield
| Assign value to structure array field |
str2func
| Construct function handle from character vector |
struct
| Structure array |
struct2cell
| Convert structure to cell array |
structfun
| Apply function to each field of scalar structure |
substruct
| Create structure argument for subsasgn or subsref |
superclasses
| Names of superclasses |
swapbytes
| Swap byte ordering |
sec
| Secant of angle in radians |
secd
| Secant of argument in degrees |
sech
| Hyperbolic secant |
sign
| Sign function (signum function) |
sin
| Sine of argument in radians |
sind
| Sine of argument in degrees |
sinh
| Hyperbolic sine |
sqrt
| Square root |
shiftdim
| Shift array dimensions |
size
| Array size |
squeeze
| Remove dimensions of length 1 |
sub2ind
| Convert subscripts to linear indices |
schur
| Schur decomposition |
sqrtm
| Matrix square root |
subspace
| Angle between two subspaces |
svd
| Singular value decomposition |
svds
| Subset of singular values and vectors |
sylvester
| Solve Sylvester equation AX + XB = C for X |
setdiff
| Set difference of two arrays |
setxor
| Set exclusive OR of two arrays |
scatteredInterpolant
| Interpolate 2-D or 3-D scattered data |
spline
| Cubic spline data interpolation |
size
| Size of triangulation connectivity list |
spalloc
| Allocate space for sparse matrix |
spaugment
| Form least-squares augmented system |
spconvert
| Import from sparse matrix external format |
spdiags
| Extract nonzero diagonals and create sparse band and diagonal matrices |
speye
| Sparse identity matrix |
spfun
| Apply function to nonzero sparse matrix elements |
spones
| Replace nonzero sparse matrix elements with ones |
spparms
| Set parameters for sparse matrix routines |
sprank
| Structural rank |
symamd
| Symmetric approximate minimum degree permutation |
symbfact
| Symbolic factorization analysis |
symmlq
| Solve system of linear equations — symmetric LQ method |
symrcm
| Sparse reverse Cuthill-McKee ordering |
sph2cart
| Transform spherical coordinates to Cartesian |
split
| Split strings at delimiters |
splitlines
| Split strings at newline characters |
sprintf
| Format data into string or character vector |
sscanf
| Read formatted data from strings |
startsWith
| Determine if strings start with pattern |
str2double
| Convert strings to double precision values |
str2num
| Convert character array or string to numeric array |
strcat
| Concatenate strings horizontally |
strcmp
| Compare strings |
strcmpi
| Compare strings (case insensitive) |
strfind
| Find strings within other strings |
string
| String array |
strings
| Create string array with no characters |
strip
| Remove leading and trailing characters from strings |
strjoin
| Join strings in array |
strjust
| Justify strings |
strlength
| Lengths of strings |
strncmp
| Compare first n characters of strings (case sensitive) |
strncmpi
| Compare first n characters of strings (case insensitive) |
strrep
| Find and replace substrings |
strsplit
| Split string or character vector at specified delimiter |
strtok
| Selected parts of strings |
strtrim
| Remove leading and trailing whitespace from strings |
settings
| Access the SettingsGroup root object |
sprandsym
| Sparse symmetric random matrix |
spectrogram (Signal Processing Toolbox)
| Spectrogram using short-time Fourier transform |
stft (Signal Processing Toolbox)
| Short-time Fourier transform |
sinc (Signal Processing Toolbox)
| Sinc function |
T
| Function Name | Description |
topkrows
| Top rows in sorted order |
trapz
| Trapezoidal numerical integration |
typecast
| Convert data type without changing underlying data |
tan
| Tangent of argument in radians |
tand
| Tangent of argument in degrees |
tanh
| Hyperbolic tangent |
toeplitz
| Toeplitz matrix |
tril
| Lower triangular part of matrix |
triu
| Upper triangular part of matrix |
toolboxdir
| Root folder for specified toolbox |
type
| Display contents of file |
trace
| Sum of diagonal elements |
times
| Multiplication |
transpose
| Transpose vector or matrix |
triangulation
| Triangulation in 2-D or 3-D |
tsearchn
| N-D closest simplex search |
tfqmr
| Solve system of linear equations — transpose-free quasi-minimal residual method |
treelayout
| Lay out tree or forest |
tic
| Start stopwatch timer |
toc
| Read elapsed time from stopwatch |
TriScatteredInterp
| (Not recommended) Interpolate scattered data |
timeit
| Measure time required to run function |
U
| Function Name | Description |
uint16
| 16-bit unsigned integer arrays |
uint32
| 32-bit unsigned integer arrays |
uint64
| 64-bit unsigned integer arrays |
uint8
| 8-bit unsigned integer arrays |
underlyingType
| Type of underlying data determining array behavior |
unwrap
| Shift phase angles |
uminus
| Unary minus |
unique
| Unique values in array |
uplus
| Unary plus |
unicode2native
| Convert Unicode character representation to numeric bytes |
upper
| Convert strings to uppercase |
uniquetol
| Unique values within tolerance |
unmkpp
| Extract piecewise polynomial details |
usejava
| Determine if Java feature is available |
V
| Function Name | Description |
var
| Variance |
vander
| Vandermonde matrix |
validateattributes
| Check validity of array |
validatestring
| Check validity of text |
vecnorm
| Vector-wise norm |
vertcat
| Concatenate arrays vertically |
voronoi
| Voronoi diagram |
voronoin
| N-D Voronoi diagram |
W
X
| Function Name | Description |
xcorr
| Cross-correlation |
xcov
| Cross-covariance |
xor
| Find logical exclusive-OR |
xspectrogram (Signal Processing Toolbox)
| Cross-spectrogram using short-time Fourier transforms |
Z
| Function Name | Description |
zeros
| Create array of all zeros |
categorical
methods
| Function Name | Description |
addcats
| Add categories to categorical array |
categories
| Categories of categorical array |
countcats
| Count occurrences of categorical array elements by category |
iscategory
| Test for categorical array categories |
isordinal
| Determine whether input is ordinal categorical array |
isprotected
| Determine whether categories of categorical array are protected |
isundefined
| Find undefined elements in categorical array |
mergecats
| Merge categories in categorical array |
removecats
| Remove categories from categorical array |
renamecats
| Rename categories in categorical array |
reordercats
| Reorder categories in categorical array |
setcats
| Set categories in categorical array |
datetime
methods
| Function Name | Description |
between
| Calendar math differences |
caldiff
| Calendar math successive differences |
dateshift
| Shift date or generate sequence of dates and times |
day
| Day number or name |
exceltime
| Convert MATLAB datetime to Excel date number |
hms
| Hour, minute, and second numbers of datetime or duration |
hour
| Hour number |
isbetween
| Determine elements within date and time interval |
isdst
| Determine daylight saving time elements |
isnat
| Determine NaT (Not-a-Time) elements |
isweekend
| Determine weekend elements |
juliandate
| Convert MATLAB datetime to Julian date |
minute
| Minute number |
month
| Month number and name |
posixtime
| Convert MATLAB datetime to POSIX time |
quarter
| Quarter number |
second
| Second number |
timeofday
| Elapsed time since midnight for datetimes |
tzoffset
| Time zone offset from UTC |
week
| Week number |
year
| Year number |
ymd
| Year, month, and day numbers of datetime |
yyyymmdd
| Convert MATLAB datetime to YYYYMMDD numeric value |
duration
methods
table
methods
| Function Name | Description |
addvars
| Add variables to table or timetable |
inner2outer
| Invert nested table-in-table hierarchy in tables or timetables |
mergevars
| Combine table or timetable variables into multicolumn variable |
movevars
| Move variables in table or timetable |
removevars
| Delete variables from table or timetable |
renamevars
| Rename variables in table or timetable |
splitvars
| Split multicolumn variables in table or timetable |
stack
| Stack data from input table or timetable into one variable in output table or timetable |
summary
| Print summary of table, timetable, or categorical array |
timetable
methods
| Function Name | Description |
containsrange
| Determine if timetable row times contain specified time range |
isregular
| Determine if timetable is regular with respect to time or calendar unit |
lag
| Time-shift data in timetable |
overlapsrange
| Determine if timetable row times overlap specified time range |
retime
| Resample or aggregate data in timetable, and resolve duplicate or irregular times |
withinrange
| Determine if timetable row times are within specified time range |