Contents Previous Next Subchapters

Hyperbolic Tangent Function
Syntax tanh(value)
See Also atanh , sinh , cosh

Description
Returns the element-by-element hyperbolic tangent of value, where value is a real or double-precision matrix.

Example
     tanh([-1., 0., 1.])
returns
     [ -0.761594 , 0 , 0.761594 ]