MATLAB Function Reference |
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
cos | cosh |
© 1994-2005 The MathWorks, Inc.