Contents Previous Next Subchapters

Cosine Function
Syntax cos(angle)
See Also acos , sin , tan , cosh

Description
Returns the element-by-element cosine of angle, where angle is a real, double-precision matrix, or complex matrix expressed in radians.

Example
     cos([-PI / 3, 0, PI / 3])
returns
     [ 0.5 , 1 , 0.5 ]