Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

tanh

Computes the hyperbolic tangent in radians for each element of x.

Syntax

  • res = tanh(x)

Input argument

  • x - a numeric value

Output argument

  • res - a numeric value

Description

tanhcomputes the hyperbolic tangent in radians for each element of x.

Example

A = eye(3, 3);
res = tanh(A)

See also

atan, tanh.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET