Scilab Home page | Wiki | Bug tracker | Forge | Mailing list archives | ATOMS | File exchange
Please login or create an account
Change language to: Français - Português - Русский - 日本語
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

  • tan — tangent
Scilab Enterprises
Copyright (c) 2011-2015 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Wed Jun 15 08:27:34 CEST 2016