FreeMat
|
Section: Mathematical Functions
Computes the hyperbolic tangent of the argument. The syntax for its use is
y = tanh(x)
The tanh
function is computed from the formula
Here is a simple plot of the hyperbolic tangent function
--> x = linspace(-5,5); --> plot(x,tanh(x)); grid('on');