cot, coth

Purpose

Cotangent and hyperbolic cotangent.

Synopsis

Y = cot(X)
Y = coth(X)

Description

cot and coth operate element-wise on matrices. Their domains and ranges include complex values. All angles are in radians.

cot(X) returns the cotangent for each element of X.

coth(X) returns the hyperbolic cotangent for each element of X.

Algorithm

See Also

acot, acoth

(c) Copyright 1994 by The MathWorks, Inc.