acosd

Inverse cosine in degrees

acosd(A)

• A should be an array, which can be real or complex.
• It returns an array containing inverse cosine (in degrees) of each element of A.
• The output has the same size as A.

Example 1: Plotting arc cosine.

x=linspace(-1,1);
y=acosd(x);
plot(x,y,'.-');
xlabel('x')
ylabel('acosd(x) in degrees')

Plot is generated.