Elementary Functions


Table of Contents

abs — absolute value, magnitude
acos — element wise cosine inverse
acosd — element wise cosine inverse, result in degree.
acosh — hyperbolic cosine inverse
acoshm — matrix hyperbolic inverse cosine
acosm — matrix wise cosine inverse
acot — computes the element-wise inverse cotangeant of the argument.
acotd — computes the element-wise inverse cotangeant of the argument result in degree.
acoth — element wise hyperbolic cotangeant inverse.
acsc — computes the element-wise inverse cosecant of the argument.
acscd — computes the element-wise inverse cosecant of the argument, results in degree.
acsch — computes the element-wise inverse hyperbolic cosecant of the argument.
adj2sp — converts adjacency form into sparse matrix.
amell — Jacobi's am function
and — (&) logical and
asec — computes the element-wise inverse secant of the argument.
asecd — computes the element-wise inverse secant of the argument, results in degree.
asech — computes the element-wise inverse hyperbolic secant of the argument.
asin — sine inverse
asind — sine inverse, results in degree
asinh — hyperbolic sine inverse
asinhm — matrix hyperbolic inverse sine
asinm — matrix wise sine inverse
atan — 2-quadrant and 4-quadrant inverse tangent
atand — 2-quadrant and 4-quadrant element-wise inverse tangent, result in degree.
atanh — hyperbolic tangent inverse
atanhm — matrix hyperbolic tangent inverse
atanm — square matrix tangent inverse
base2dec — conversion from base b representation to integers
bin2dec — integer corresponding to a binary form
binomial — binomial distribution probabilities
bitand — AND applied to binary representation of input arguments
bitor — OR applied to binary representation of input arguments
bloc2exp — block-diagram to symbolic expression
bloc2ss — block-diagram to state-space conversion
cat — concatenate several arrays
ceil — rounding up
cell2mat — convert a cell array into a matrix
cellstr — convert strings vector (or strings matrix) into a cell of strings
char — char function
conj — conjugate
cos — cosine function
cosd — element-wise cosine function, argument in degree
cosh — hyperbolic cosine
coshm — matrix hyperbolic cosine
cosm — matrix cosine function
cotd — cotangent
cotg — cotangent
coth — hyperbolic cotangent
cothm — matrix hyperbolic cotangent
csc — Computes the element-wise cosecant of the argument.
cscd — Computes the element-wise cosecant of the argument given in degree.
csch — Computes the element-wise hyperbolic cosecant of the argument.
cumprod — cumulative product
cumsum — cumulative sum
dec2bin — binary representation
dec2hex — hexadecimal representation of integers
dec2oct — octal representation of integers
delip — complete and incomplete elliptic integral of first kind
diag — diagonal including or extracting
diff — Difference and discrete derivative
double — conversion from integer to double precision representation
dsearch — binary search (aka dichotomous search in french)
eval — evaluation of a matrix of strings
exp — element-wise exponential
eye — identity matrix
factor — factor function
fix — rounding towards zero
flipdim — flip x components along a given dimension
floor — rounding down
frexp — dissect floating-point numbers into base 2 exponent and mantissa
gsort — sorting by quick sort agorithm
hex2dec — conversion from hexadecimal representation to integers
imag — imaginary part
imult — multiplication by i the imaginary unitary
ind2sub — linear index to matrix subscript values
int — integer part
intc — Cauchy integral
integrate — integration of an expression by quadrature
interp1 — one_dimension interpolation function
interp2d — bicubic spline (2d) evaluation function
intersect — returns the vector of common values of two vectors
intl — Cauchy integral
inttrap — integration of experimental data by trapezoidal interpolation
isdef — checks variable existence
isempty — check if a variable is an empty matrix or an empty list
isequal — objects comparison
isequalbitwise — bitwise comparison of variables
isinf — check for infinite entries
isnan — check for "Not a Number" entries
isreal — check if a variable as real or complex entries
kron — Kronecker product (.*.)
lex_sort — lexicographic matrix rows sorting
linspace — linearly spaced vector
log — natural logarithm
log10 — logarithm
log1p — computes with accuracy the natural logarithm of its argument added by one
log2 — base 2 logarithm
logm — square matrix logarithm
logspace — logarithmically spaced vector
lstsize — list, tlist, mlist numbers of entries
max — maximum
maxi — maximum
meshgrid — create matrices or 3-D arrays
min — minimum
mini — minimum
minus — (-) substraction operator, sign changes
modulo — symetric arithmetic remainder modulo m — positive arithmetic remainder modulo m
ndgrid — arrays for multidimensional function evaluation on grid
ndims — number of dimensions of an array
nearfloat — get previous or next floating-point number
nextpow2 — next higher power of 2.
norm — matrix norms
not — (~) logical not
number_properties — determine floating-point parameters
oct2dec — conversion from octal representation to integers
ones — matrix made of ones
or — (|) logical or
pen2ea — pencil to E,A conversion
perms — all permutations of vector components
permute — permute the dimensions of an array
pertrans — pertranspose
primes — primes function
prod — product
rand — random number generator
rat — Floating point rational approximation
real — real part
resize_matrix — create a new matrix with a different size
round — rounding
sec — Compute the element-wise secant of the argument.
secd — Compute the element-wise secant of the argument given in degree.
sech — Compute the element-wise hyperbolic secant of the argument.
setdiff — returns components of a vector which do not belong to another one
sign — sign function
signm — matrix sign function
sin — sine function
sinc — sinc function
sind — sine function, argument in degree.
sinh — hyperbolic sine
sinhm — matrix hyperbolic sine
sinm — matrix sine function
size — size of objects
solve — symbolic linear system solver
sort — stable sorting by "quick sort" algorithm
sp2adj — converts sparse matrix into adjacency form
speye — sparse identity matrix
splin2d — bicubic spline gridded 2d interpolation
spones — sparse matrix
sprand — sparse random matrix
spzeros — sparse zero matrix
sqrt — square root
sqrtm — matrix square root
squarewave — generates a square wave with period 2*%pi
ssprint — pretty print for linear system
ssrand — random system generator
sub2ind — matrix subscript values to linear index
sum — sum (row sum, column sum) of vector/matrix entries
sysconv — system conversion
sysdiag — block diagonal system connection
syslin — linear system definition
tan — tangent
tand — tangent, argument in degree.
tanh — hyperbolic tangent
tanhm — matrix hyperbolic tangent
tanm — matrix tangent
toeplitz — toeplitz matrix
trfmod — poles and zeros display
trianfml — symbolic triangularization
tril — lower triangular part of matrix
trisolve — symbolic linear system solver
triu — upper triangle
typeof — object type
union — extract union components of a vector
unique — extract unique components of a vector or matrices
vectorfind — finds in a matrix rows or columns matching a vector
zeros — matrix made of zeros