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

tanh computes the hyperbolic tangent in radians for each element of x.

💡 Example

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

🔗 See also

atan, tanh.

🕔 History

Version
📄 Description

1.0.0

initial version

Last updated

Was this helpful?