FUNCTION REFERENCE
acos
Inverse cosine in radians.
Inverse cosine in radians.
Syntax
Y = acos(X)Real input in [-1, 1] gives values in [0, pi]. Real input outside [-1, 1]
and complex input give the principal complex value.
Example
acos(0.5) % 1.0472Example
acos(2) % 0 + 1.3170iDifferences from MATLAB: double, logical and char 2-D arrays only.
These are the engine’s help pages. Each page keeps its compatibility notes. File operations are unavailable in the browser.