Hyperbolic Tangent

Syntax


y = tanh(x)

Description


Returns the hyperbolic tangent of the passed argument, which may be an expression.

Example


y = tanh(2.45)