<< cotd Trigonometry coth >>

Scilab Help >> Elementary Functions > Trigonometry > cotg

cotg

cotangent

Syntax

[t] = cotg(x)

Arguments

x, t

real or complex vectors/matrices.

Description

The elements of t are the cotangents of the corresponding entries of x: t=cos(x)./sin(x).

Examples

x=[1,%i];
cotg(x)-cos(x)./sin(x)

See also


Report an issue
<< cotd Trigonometry coth >>