MATLAB Function Reference    
atan, atanh

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, tan, tanh


 assignin atan2