Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Elementary Functions

• abs - Absolute value


• angle - Phase angle
• conj - Complex conjugate
• imag - Imaginary part
• real - Real part
• sign - Sign function

Trigonometric Functions

• sin - Sine function


• cos - Cosine function
• tan - Tangent function
• asin - Inverse sine function
• acos - Inverse cosine function
• atan - Inverse tangent function
• atan2 - Four-quadrant inverse tangent
• sind - Sine function with degree input
• cosd - Cosine function with degree input
• tand - Tangent function with degree input

Hyperbolic Functions

• sinh - Hyperbolic sine


• cosh - Hyperbolic cosine
• tanh - Hyperbolic tangent
• asinh - Inverse hyperbolic sine
• acosh - Inverse hyperbolic cosine
• atanh - Inverse hyperbolic tangent

Exponential and Logarithmic Functions

• exp - Exponential function


• log - Natural logarithm
• log10 - Common logarithm
• log2 - Base-2 logarithm
• sqrt - Square root
• nthroot - Nth root
Rounding and Remainder Functions

• ceil - Ceiling function


• floor - Floor function
• round - Round to nearest integer
• fix - Round towards zero
• mod - Remainder after division
• rem - Remainder

Complex Numbers

• complex - Create complex number


• polar - Polar coordinates

Special Functions

• gamma - Gamma function


• besselj - Bessel function of the first kind
• bessely - Bessel function of the second kind
• erf - Error function
• erfc - Complementary error function

Polynomials

• polyval - Evaluate polynomial


• polyfit - Polynomial curve fitting
• roots - Find polynomial roots

Matrix Functions

• det - Determinant
• inv - Inverse
• eig - Eigenvalues and eigenvectors
• svd - Singular value decomposition

You might also like