Scilab 5.3.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
- 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
sec
Compute the element-wise secant of the argument.
Calling Sequence
y = sec(x)
Arguments
- x
Real or complex array.
- y
Real or complex array.
Description
Compute the element-wise secant of the argument. The secant is a
periodic finction defined as 1/cos. For real data the results are real and
in ]-%inf -1] U [1 %inf[
.
Examples
See Also
Authors
- Serge Steer, INRIA
Used Functions
This function uses the cos
function.
<< csgn | Trigonometry | secd >> |