home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-02-21 | 309 b | 15 lines | [TEXT/RLAB] |
- //-------------------------------------------------------------------//
-
- // Syntax: tanh ( X )
-
- // Description:
-
- // Tanh is the hyperbolic tangent of the element(s) of X.
-
- //-------------------------------------------------------------------//
-
- tanh = function ( x )
- {
- return (sinh (x) ./ cosh (x));
- };
-