cos
Calculates the cosine of an argument in radians, degrees or gradians. Depending on input, function can return scalar, vector, matrix or complex number.
Arguments
- Real or complex value x
Output
Value in [-1, 1] or complex value
Examples
Calculates the cosine of an argument in radians, degrees or gradians. Depending on input, function can return scalar, vector, matrix or complex number.
Value in [-1, 1] or complex value