Name
acosd — element wise cosine inverse, result in degree.
Calling Sequence
t=acosd(x)
Parameters
- x
Real or complex array.
- t
Real or complex array.
Description
The components of vector t are cosine inverse, in
degree, of the corresponding entries of vector x
(t=acos(x)*180/%pi). For real data in [-1, 1]. The
results are real in [0 180].
Examples
x=[-1 0 1 sqrt(2)/2 -sqrt(2)/2 sqrt(3)/2 -sqrt(3)/2];
acosd(x)