tanh
Computes the hyperbolic tangent in radians for each element of x.
📝Syntax
res = tanh(x)
📥Input Arguments
Parameter Description
x a numeric value
📤Output Arguments
Parameter Description
res a numeric value
📄Description
tanh computes the hyperbolic tangent in radians for each element of x.
💡Examples
A = eye(3, 3);
res = tanh(A)
🔗See Also
atantanh
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub