Scilab 6.1.0
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
computes the element-wise secant of the argument
Syntax
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 1/cos(x)
. For real data the results are real and
in ]-∞,-1] ∪ [1,∞[
.
Sample
Examples
See also
Used Functions
This function uses the cos()
function.
Report an issue | ||
<< csgn | Trigonometry | secd >> |