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

cotdR Documentation

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.

Author(s)

David Bateman (GNU Octave cotd), Irucka Embry

References

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 554.

Examples


library(iemisc)

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

cotd (c(0, 180, 360))

cotd (c(90, 270))




iemisc documentation built on Sept. 25, 2023, 5:09 p.m.