Y = cot(X)Y = coth(X)
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.

acot,acoth
(c) Copyright 1994 by The MathWorks, Inc.