arccos

Navigation:  Language Reference > Functions > Trigonometric >

arccos

Previous pageReturn to chapter overviewNext page

Syntax

Y = arccos(X);

Description

Returns the arccosine of the elements of X.

Examples

b = sin(time);

a = arccos(b);

X = [0.5*sin(time);0.75*sin(time)];

Y = arccos(X);

Limitations

Y and X must have the same size. The elements of X must be in the range [-1 ,1].

 

Arccos