<< cotd Trigonometry coth >>

Scilab help >> Elementary Functions > Trigonometry > cotg

cotg

cotangent

Calling Sequence

[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

<< cotd Trigonometry coth >>