MATLAB Function Reference Previous page   Next Page
cosd

Cosine of an argument in degrees

Syntax

Description

Y = cosd(X) is the cosine of the elements of X, expressed in degrees. For odd integers n, cosd(n*90) is exactly zero, whereas cos(n*pi/2) reflects the accuracy of the floating point value of pi.

See Also

acosd, cos


Previous page  cos cosh Next page

© 1994-2005 The MathWorks, Inc.