tanh
Hyperbolic tangent
Syntax
Y = tanh(X)
Description
Thetanh
function operates element-wise on arrays. The function's domains and ranges include complex values. All angles are in radians.
Y = tanh(X)
returns the hyperbolic tangent of each element ofX
.
Examples
More About
Extended Capabilities
Introduced before R2006a
Was this topic helpful?