Scilab 6.0.1
- 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
- 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
cos
cosine function
Syntax
[y]=cos(x)
Arguments
- x
real or complex vector/matrix
Description
For a vector or a matrix, cos(x)
is the cosine of
its elements . For matrix cosine use cosm(X)
function.
Sample
Examples
x=[0,1,%i] acos(cos(x))
Report an issue | ||
<< atanm | Trigonometry | cosd >> |