atanh

Returns the inverse hyperbolic tangent of a.

Syntax

R = atanh(a)

Inputs

a
Any valid scalar | vector | matrix
Type: double | integer
Dimension: scalar | vector | matrix

Outputs

R
scalar | vector | matrix

Examples

Simple scalar input:
atanh(-2)
R = -1.10715
Simple matrix input:
atanh([2,3,4])
R = [ 1.10715 1.24905 1.32582 ]
Complex matrix input:
atanh([i+1,-2-i, 6i, 1])
R = [ 1.01722 + 0.402359i, -1.1781-0.173287i, 1.5708 + 0.168236i, 0.785398]