Inverse cosine in degrees
Y = acosd(X)
Verify that inverse cosine of 0 is exactly 90.
ans = 90
Show that the inverse cosine, followed by cosine, returns the original values of
ans = 1×2 2.0000 3.0000
acosd([2 3]) returns two complex angles, which are then passed to the
cosd returns the original values,
X— Cosine of angle
Cosine of angle, specified as a real-valued or complex-valued
scalar, vector, matrix, or N-D array. The
is element-wise when
X is non-scalar.
Complex Number Support: Yes
This function fully supports tall arrays. For more information, see Tall Arrays.