TANH function
Description
Hyperbolic tangent function. TANH(x) returns the hyperbolic tangent of the angle x. The argument x must be expressed in radians. To convert degrees to radians you use the RADIANS function.
The hyperbolic tangent can be defined as:
$$ \operatorname{tanh}(x) = \frac{\operatorname{sinh}(x)}{\operatorname{cosh}(x)} $$
where sinh is the hyperbolic sine function and cosh is the hyperbolic cosine function.
The argument x can be a real number, a complex number, or a matrix. When it is a matrix, the function returns a matrix with the same dimensions and with the TANH function applied to all elements.