Scilab 5.3.3
- Scilab help
- Elementary Functions
- Trigonometry
- acos
- acosd
- acosh
- acoshm
- acosm
- acot
- acotd
- acoth
- acsc
- acscd
- acsch
- asec
- asecd
- asech
- asin
- asind
- asinh
- asinhm
- asinm
- atan
- atand
- atanh
- atanhm
- atanm
- conj
- cos
- cosd
- cosh
- coshm
- cosm
- cotd
- cotg
- coth
- cothm
- csc
- cscd
- csch
- csgn
- sec
- secd
- sech
- sin
- sinc
- sind
- sinh
- sinhm
- sinm
- tan
- tand
- tanh
- tanhm
- tanm
Please note that the recommended version of Scilab is 2025.0.0. This page might be outdated.
See the recommended documentation of this function
cosd
element-wise cosine function, argument in degree
Calling Sequence
y=cosd(x)
Arguments
- x
real vector/matrix
Description
For a vector or a matrix x
of angles given in
degree, cosd(x)
is the cosine of its elements. The
results are in [-1 1]
. For input elements which are
equal to n*90
with n
integer and
odd, the result is exactly zero.
Examples
x=[0,30 45 60 90 360]; cosd(x)
See Also
- cos — cosine function
Authors
- Serge Steer, INRIA
<< cos | Trigonometry | cosh >> |