Contents
Previous
Next
Subchapters
Current Chapters->
acos
asin
atan
cos
cosh
exp
log
log10
sin
sinh
tan
tanh
log2
pow2
atan2
angle
asinh
acosh
atanh
hypot
Parent Chapters->
Omatrix6
elementary
transcendental
tanh
Search Tools->
contents
reference
index
search
Hyperbolic Tangent Function
Syntax
tanh(
value
)
See Also
atanh
,
sinh
,
cosh
Description
Returns the
element-by-element
hyperbolic tangent of
value
, where
value
is a real or double-precision matrix.
Example
tanh([-1., 0., 1.])
returns
[ -0.761594 , 0 , 0.761594 ]