[TOC]
acosd
Inverse cosine in degrees
Usage
acosd(A)
A should be an array, which can be real or complex.
- It returns an array containing the inverse cosine (in degrees) of each element of
A.
- For real elements of
A lying in , it returns values in . (See example below.)
- For real elements of
A having absolute value , it returns complex numbers.
- The output has the same size as
A.
Example
x=linspace(-1,1);
y=acosd(x);
plot(x,y,'.-');
xlabel('x')
ylabel('acosd(x) in degrees')
Output
