| MATLAB Function Reference | Search  Help Desk |
| atan, atanh | Examples See Also |
Inverse tangent and inverse hyperbolic tangent
Y = atan(X) Y = atanh(X)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.
Graph the inverse tangent function over the domain
and the inverse hyperbolic tangent function over the domain
x = -20:0.01:20; plot(x,atan(x)) x = -0.99:0.01:0.99; plot(x,atanh(x))
atan2 Four-quadrant inverse tangent
tan, tanh Tangent and hyperbolic tangent