Scilab 5.5.2
      
      - 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 2026.0.0. This page might be outdated.
See the recommended documentation of this function
sec
computes the element-wise secant of the argument
Calling Sequence
y = sec(x)
Arguments
- x
 a real or complex array.
- y
 a real or complex array.
Description
The sec function computes the element-wise secant of the argument. The secant is a
            periodic function defined as 
. For real data the results are real and
            in 
.
Sample

Examples
See Also
Used Functions
This function uses the 
 function.
| Report an issue | ||
| << csgn | Trigonometry | secd >> |