<< cos Trigonometric functions cosh >>

cosd


Computes the cosine in degree for each element of x.


Syntax


res = cosd(x)

Input argument


x

a numeric value

Output argument


res

a numeric value

Description


cosd computes the cosine in degree for each element of x.

Example


A = [0 30 45 60 90 360];;
res = cosd(A)

See also


cos.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< cos Trigonometric functions cosh >>