Sei sulla pagina 1di 17

# Functions ‫رابعا الدوال الرياضية‬

## MATRIX MANIPULATION ‫معالة الصفوفات‬

.Elementary matrices

## .Basic array information

.size - Size of matrix

## .logical - Convert numeric values to logical

.Matrix manipulation

## .sub2ind - Linear index from multiple subscripts

.ind2sub - Multiple subscripts from linear index

## .realmin - Smallest positive floating point number

....pi - 3.1415926535897

## .i, j - Imaginary unit

.inf - Infinity

.NaN - Not-a-Number

## .flops - Floating point operation count

.Specialized matrices

.Trigonometric

.sin - Sine

.cos - Cosine

## .acosh - Inverse hyperbolic cosine

.tan - Tangent
.tanh - Hyperbolic tangent

.sec - Secant

.csc - Cosecant

.cot - Cotangent

## .acoth - Inverse hyperbolic cotangent

.Exponential

.exp - Exponential

## .pow2 -Base 2 power and scale floating point number

.sqrt - Square root

.Complex

## .rem - Remainder after division

.sign - Signum
.SPECIALIZED MATH FUNCTIONS

## .legendre - Associated Legendre function

.cross - Vector cross product

## .nchoosek -All combinations of N elements taken K at a time

.Coordinate transforms

## .rgb2hsv - Convert red-green-blue colors to hue-saturation-value

.MATRIX FUNCTIONS - NUMERICAL LINEAR ALGEBRA

.Matrix analysis

## .rank - Matrix rank

.det - Determinant

## .null - Null space

.orth - Orthogonalization

## subspace - Angle between two subspaces

.Linear equations.

## .cholinc - Incomplete Cholesky factorization

.lu - LU factorization

## .luinc - Incomplete LU factorization

.qr - Orthogonal-triangular decomposition

## .nnls - Non-negative least-squares

.pinv - Pseudoinverse

## .lscov - Least squares with known covariance

.Matrix functions

## .funm - Evaluate general matrix function

Factorization utilities

## .planerot - Given's plane rotation

.Polynomials
.roots - Find polynomial roots

.Plotting

.function

## .Elementary X-Y graphs

.plot - Linear plot

.Axis control

## .subplot - Create axes in tiled positions

.Graph annotation

## .xlabel - X-axis label

.ylabel - Y-axis label

.Color control

## .hidden - Mesh hidden line removal mode

.brighten - Brighten or darken color map

.Lighting

## .surfnorm - Surface normals

.Specialized graphs

## .ezplot - Easy to use function plotter

.feather - Feather plot

## .fplot - Plot function

.hist - Histogram

## .voronoi - Voronoi diagram

.Specialized 3-D graphs