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 - 日本語 - Русский

Please note that the recommended version of Scilab is 6.0.1. This page might be outdated.
See the recommended documentation of this function

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

  • tan — tangent
Scilab Enterprises
Copyright (c) 2011-2017 (Scilab Enterprises)
Copyright (c) 1989-2012 (INRIA)
Copyright (c) 1989-2007 (ENPC)
with contributors
Last updated:
Thu Oct 02 13:46:48 CEST 2014