iemisc (version 0.9.8)

cotd: Cotangent (in degrees) [GNU Octave/MATLAB compatible]

Description

Calculates the value of inverse secant for each element of x in degrees in a manner compatible with GNU Octave/MATLAB.

Usage

cotd(x)

Arguments

x

A numeric vector containing values in degrees

Value

The inverse secant of each element of x in degrees.

References

John W. Eaton, David Bateman, and S<U+00F8>ren Hauberg (2009). GNU Octave version 3.0.1 manual: a high-level interactive language for numerical computations. CreateSpace Independent Publishing Platform. ISBN 1441413006, URL http://www.gnu.org/software/octave/doc/interpreter/. Page 358.

Examples

Run this code
# NOT RUN {
library("iemisc")

# Examples from GNU Octave cotd
cotd (seq(0, 80, by = 10))

cotd (c(0, 180, 360))

cotd (c(90, 270))




# }

Run the code above in your browser using DataLab