The hyperbolic tangent of the argument. |
||
Syntax |
T = Tanh(M) |
|
Argument |
Name |
Description |
M |
A real scalar, vector, or a matrix. |
|
Output |
Name |
Description |
T |
The hyperbolic tangent of each entry. |
|
Example |
Find the hyperbolic tangent of elements in a matrix. |
|
Syntax |
||
T = Tanh([1,2;3,4]) |
||
Result |
||
T = 0.76159 0.96403 0.99505 0.99933 |
||
See Also: |