tanh
tanh returns the hyperbolic tangent of its parameter.
-
r = tanh(m)
Return Value
r is the hyperbolic tangent of m.
Parameters
-
m
m is a real or complex matrix.
Comment
Algorithm: The calculation is reached using this formula:
sinh(x) ./ cosh(x).
id-438090