TANH Hyperbolic Tangent Function
Section: Mathematical Functions
Usage
Computes the hyperbolic tangent of the argument. The syntax for its use isy = tanh(x)
Function Internals
Thetanh function is computed from the formula
Examples
Here is a simple plot of the hyperbolic tangent function
--> x = linspace(-5,5);
--> plot(x,tanh(x)); grid('on');
