Previous topic

30. Overview Marker

Next topic

32. Overview MATLAB Files

This Page

31. Overview MathematicΒΆ

  Miscellaneous
get_math_lib get_math_lib returns the name of the enabled math libray.
set_math_lib set_math_lib sets the math library.
  Interpolation
akimaspline akimaspline computes an akima spline for a given x- and y-vector.
fspline fspline computes a fit spline for a given x- and y-vector.
interpol The interpol function executes a linear interpolation for the given x-coordinates.
moving_average
moving_median The moving_median function calculates a moving median. The function operates over a moving window of values. For each window, the middle value found in the window is used.
nonlin nonlin computes the parameters of a given (non linear) function so that the deviation of the function for the given data points is minimized.
pspline pspline computes a spline under tension for a given x and y vector. In contrast to the fspline function, the x-elements do not have to be sorted in increasing order.
rspline rspline computes a rational spline under tension for a given x and y vector.
sgolayfilt sgolayfilt computes a moving average using the Savitzky-Golay algorithm.
  Functions
fft The fft function computes the complex Fourier Transformation.
ifft Calculates the Inverse Fourier Transformation.
nonlin nonlin computes the parameters of a given (non linear) function so that the deviation of the function for the given data points is minimized.
ode ode computes the solution of ordinary differential equation of the first order.
solve solve calculates the solution of a non linear system.
  Elementary Functions
abs abs calculates the absolute value of its argument.
ceil Calculates the ceiling of a value.
conj conj returns the complex conjugate of its parameter.
exp exp returns the exponential value of its parameter.
floor Returns the largest interger that is less than or equal to its argument.
fround fround rounds the elements of a matrix. The number of significant digits can be specified.
log log returns the natural logarithm of its parameter.
log10 log10 returns the base-10 logarithm of its parameter.
real real returns the real part of its argument.
round Is replaced by fround.
imag imag returns the imaginary part of a complex number.
sqrt sqrt calculate the square root of a matrix.
sort sort performs a quick sort from a real, complex or string matrix or vector.
sum sum computes the sum of all elements for a real or complex vector. Strings from string vectors will be appended to a scalar string.When the argument is a matrix, a row vector will be created containing the sum of the matrix columns.
cumsum cumsum returns the cumulative sums of each column of a matrix.
all all checks if all elements of a vector or matrix are other than zero (0).
any any checks if any elements of a vector or matrix are zero.
diff diff computes differences such as the following: [x[2] - x[1], x[3] - x[2], ... , x[n] - x[n-1]]
merge merge merges two unsorted vectors and returns a single sorted vector.
histc histc calculates a histogram.
histogram histogram calculates the histogram of a vector.
mean mean returns the mean of its parameter.
std std returns the standard deviation of its parameter.
  Trigonometric Functions
acos acosh calculates the arccosine.
acosh acosh calculates the hyperbolic arccosine.
acot acot calculates the arccotangent.
asin asin calculates the ac arcsine.
asinh asinh calculates the hyperbolic arcsine.
atan atan calculates the arctangent.
atanh atanh calculates the hyperbolic arctangent.
cos cos returns the cosine of its parameter.
cosh cosh returns the hyperbolic cosine of its parameter.
sin sin returns the sine of m.
sinh sinh returns the hyperbolic sine of its parameter.
tan tan returns the tangent of its parameter.
tanh tanh returns the hyperbolic tangent of its parameter.
  Matrix Creation
ones ones creates a real matrix with all elements set to the value 1.0.
zeros The zeros function creates a real matrix with all elements set to the value 0.0.
rand rand returns random numbers with uniform distribution.
eye eye returns an identity matrix.
diag diag creates a diagonal-matrix or a row-vector.
  Linear Algebra
cond cond calculates the condition number of a matrix.
norm norm calculates various matrix norms.
det det computes the determinant of a square matrix.
eig eig calculates the eigenvalues and eigenvectors of a square matrix.
inv inv calculates the inverse of a square matrix.
  Random Numbers
rand rand returns random numbers with uniform distribution.
srand srand sets a start value for the random generator.

id-1159189