Octave
Basic Math Functions
cos Cosine of an angle (in radians)
sin Sine of an angle (in radians)
tan Tangent of an angle (in radians)
exp Exponential function (ex )
log Natural logarithm (NB this is loge , not log10 )
log10 Logarithm to base 10
sinh Hyperbolic sine
cosh Hyperbolic cosine
tanh Hyperbolic tangent
acos Inverse cosine
acosh Inverse hyperbolic cosine
asin Inverse sine
asinh Inverse hyperbolic sine
atan Inverse tangent
atan2 Two-argument form of inverse tangent
atanh Inverse hyperbolic tangent
abs Absolute value
sign Sign of the number (−1 or +1)
round Round to the nearest integer
floor Round down (towards minus infinity)
ceil Round up (towards plus infinity)
fix Round towards zero
rem Remainder after integer division
predefined variables
pi..............3.414
ans...........
i2............... -1
j2............... -1
keywords
format <data_type>
save anyname
load anyname