secd | R Documentation |
Calculates the value of secant for each element of x
in degrees in a
manner compatible with GNU Octave/MATLAB.
secd(x)
x |
A numeric vector containing values in degrees |
The secant of each element of x
in degrees.
Note: If you have a radian (rad) angle value, use sec
instead.
David Bateman (GNU Octave secd), Irucka Embry
John W. Eaton, David Bateman, Søren Hauberg, and Rik Wehbring (November 2022). GNU Octave: A high-level interactive language for numerical computations: Edition 7 for Octave version 7.3.0. https://docs.octave.org/octave.pdf. Page 553.
library(iemisc)
# Examples from GNU Octave secd
secd (seq(0, 80, by = 10))
secd (c(0, 180, 360))
secd (c(90, 270))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.