
 Usage

Computes the hyperbolic tangent of the argument. The syntax
for its use is

     y = tanh(x)



 Internals

The tanh function is computed from the formula
 \[ \tanh(x) = \frac{\sinh(x)}{\cosh(x)} \]


 Examples

Here is a simple plot of the hyperbolic tangent function

  --> x = linspace(-5,5);
  --> plot(x,tanh(x)); grid('on');

 tanhplot.png

* FreeMat_Documentation
* Mathematical_Functions
* Generated on Thu Jul 25 2013 17:17:45 for FreeMat by
  doxygen_ 1.8.1.1

