   Department of Engineering      Next: Complex Numbers Up: Matlab Databook Previous: Matrix functions

# Maths

As well as the usual operators there are many functions. See table 3

Table 3: Math functions
 cos cos (angle needs to be in radians) sin sin (angle needs to be in radians) tan tan (angle needs to be in radians) exp exponential log natural log log10 base 10 log sinh hyperbolic sin cosh hyperbolic cos tanh hyperbolic tan acos inverse cos acosh inverse hyperbolic cos asin inverse sin asinh inverse hyperbolic sin atan inverse tan atan2 2-argument form of inverse tan atanh inverse hyperbolic tan abs absolute value sign sign (either -1 or +1) round round to the nearest integer floor round down to the nearest integer ceil round up to the nearest integer fix round towards 0 rem remainder after integer division sqrt square root    Next: Complex Numbers Up: Matlab Databook Previous: Matrix functions   | computing help |
© Cambridge University Engineering Dept
Information provided by Tim Love
2006-07-24