Inverse cosine in radians
y = acos(x)
y = acos(
returns
the Inverse Cosine (cos-1)
of the elements of x
)x
. The acos
function
operates element-wise on arrays. For real elements of x
in
the interval [-1,1]
, acos(x)
returns
real values in the interval [0,pi]
. For real values
of x
outside the interval [-1,1]
and
for complex values of x
, acos(x)
returns
complex values. All angles are in radians.