Cosine of argument in degrees
Y = cosd(X)
Y = cosd(X) returns
the cosine of the elements of X, which are expressed
Create an array of three complex angles and
compute the cosine.
z = [180+i 45+2i 10+3i];
y = cosd(z)
-1.0002 0.7075 - 0.0247i 0.9862 - 0.0091i
Angle in degrees, specified as a real-valued or complex-valued
scalar, vector, matrix, or N-D array. The cosd operation
is element-wise when X is nonscalar.
Data Types: single | doubleComplex Number Support: Yes
Cosine of angle, returned as a real-valued or complex-valued
scalar, vector, matrix, or N-D array of the same size as X.
acos | acosd | cos
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Choose your country to get translated content where available and see local events and offers. Based on your location, we recommend you select United States from the following list:
See all countries