ACOSD Inverse Cosine Degrees Function

Section: Mathematical Functions

Usage

Computes the inverse cosine of the argument, but returns the argument in degrees instead of radians (as is the case for acos. The syntax for its use is
   y = acosd(x)

Examples

The inverse cosine of sqrt(2)/2 should be 45 degrees:
--> acosd(sqrt(2)/2)

ans = 
  45.0000 +  0.0000i 

and the inverse cosine of 0.5 should be 60 degrees:

--> acosd(0.5)

ans = 
  60.0000 +  0.0000i