FreeMat
COTD Cotangent Degrees Function

Section: Mathematical Functions

Usage

Computes the cotangent of the argument, but takes the argument in degrees instead of radians (as is the case for cot). The syntax for its use is

   y = cotd(x)

Examples

The cotangent of 45 degrees should be 1.

--> cotd(45)

ans = 
    1.0000