Tanh
Hyperbolic tangent function
Syntax
Tanh(x) |
x is scalar |
Return a scalar which is the hyperbolic tangent function of x, where x is in radian unit |
x is matrix |
Return a matrix in which the element is the hyperbolic tangent function of the element in x, where x is in radian unit |
Example
Input |
Output |
tanh(PI/4) |
|
tanh(1+i) |
|
tanh([1+i, 0, 1-i]) |
|
tanh([i, 1-3i; -2i, 5]) |
See Also
Created with the Personal Edition of HelpNDoc: Full-featured Help generator