cos
Cosine function.
y=cos(x)
Inputs
x An array of real or complex numbers.
Outputs
y An array of same size as x . Each element of the output is the cosine of the corresponding element of the input.