MATLAB Function Reference
  Go to function:
    Search    Help Desk 
cot, coth    Examples   See Also

Cotangent and hyperbolic cotangent

Syntax

Description

The cot and coth functions operate element-wise on arrays. The functions' domains and ranges include complex values. All angles are in radians.

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

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

Examples

Graph the cotangent and hyperbolic cotangent over the domains and

Algorithm

See Also

acot, acoth



[ Previous | Help Desk | Next ]