Owning Class: trigonometric
Requires: MathScript RT Module
c = tanh(a)
Computes the hyperbolic tangent of the input elements.
| Name | Description |
|---|---|
| a | Specifies a real or complex scalar, vector, or matrix. |
| Name | Description |
|---|---|
| c | Returns the hyperbolic tangent of the elements in a. c is a scalar, vector, or matrix of the same size as a. |
Z = -pi/2:pi/24:pi/2
C = tanh(Z)