| Products & Services | Industries | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → MATLAB |
| Contents | Index |
| Learn more about MATLAB |
Y = cosd(X)
Y = cosd(X) returns the cosine for each element of X, expressed in degrees.
Compare the accuracy of cos and cosd.
isequal(cosd(270),cos(3*pi/2))
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.
![]() | cos | cosh | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |