MATLAB Function Reference
  Go to function:
    Search    Help Desk 
atan, atanh    Examples   See Also

Inverse tangent and inverse hyperbolic tangent

Syntax

Description

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

Y = atan(X) returns the inverse tangent (arctangent) for each element of X.

For real elements of X, atan(X) is in the range .

Y = atanh(X) returns the inverse hyperbolic tangent for each element of X.

Examples

Graph the inverse tangent function over the domain and the inverse hyperbolic tangent function over the domain

Algorithm

See Also

atan2       Four-quadrant inverse tangent

tan, tanh   Tangent and hyperbolic tangent



[ Previous | Help Desk | Next ]