David
Farruggio

MathGenie

cos

Cosine of argument in radians

Syntax and Description

cos(X) returns the cosine for each element of 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.

Back to functions