HyperMath

Tanh

Tanh

Previous topic Next topic No expanding text in this topic  

Tanh

Previous topic Next topic JavaScript is required for expanding text JavaScript is required for the print function  

The hyperbolic tangent of the argument.

Syntax

T = Tanh(M)

Argument

Name

Description

 

M

A real scalar, vector, or a matrix.

Output

Name

Description

 

T

The hyperbolic tangent of each entry.

Example

Find the hyperbolic tangent of elements in a matrix.

 

Syntax

 

T = Tanh([1,2;3,4])

 

Result

 

T = 0.76159  0.96403

   0.99505  0.99933

See Also:

Cosh

Sinh