www.gusucode.com > elfun工具箱matlab源码程序 > elfun/cosd.m
%COSD Cosine of argument in degrees. % 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 for pi. % % Class support for input X: % float: double, single % % See also ACOSD, COS. % Copyright 1984-2010 The MathWorks, Inc. % Built-in function.