acosd
Returns the inverse cosine (in degrees) for each element of the argument.
Syntax
R = acosd(x)
Inputs
- x
- Dimension: scalar | vector | matrix
Outputs
- R
- The angle result (in degrees).
Examples
Scalar
input:
R = acosd(sqrt(3)/2)
R = 30
Matrix
input:
R = acosd([0, sqrt(3)/2; 0.5, sqrt(2)/2])
R = [Matrix] 2 x 2
90.00000 30.00000
60.00000 45.00000