tanh

Syntax

tanh(X)

Arguments

X is a scalar/vector/matrix.

Details

The hyperbolic tangent function.

Examples

$ tanh(0 1 2);
[0,0.761594,0.964028]