Cosine of argument in radians
Y = cos(X)
returns
the cosine for each element of Y
= cos(X
)X
. The cos
function
operates element-wise on arrays. The function accepts both real and
complex inputs. For purely real values or imaginary values of X
, cos
returns
real values in the interval [-1 ,1]. For complex values of X
, cos
returns
complex values. All angles are in radians.