[TOC]

acoth

Inverse hyperbolic cotangent

Usage

acoth(A)

Example

Input

acoth(x) returns a complex number when is real.

x = linspace(-1,1,10);
y = acoth(x)
Output
y = 
Columns 1 to 3:
-Inf    - 0.7854i  -1.0397 - 1.5708i  -0.6264 - 1.5708i
Columns 4 to 6:
-0.3466 - 1.5708i  -0.1116 - 1.5708i   0.1116 - 1.5708i
Columns 7 to 9:
 0.3466 - 1.5708i   0.6264 - 1.5708i   1.0397 - 1.5708i
Column 10:
 Inf    - 0.7854i
Input
x = linspace(-10,-1.1);
y = acoth(x);
plot(x,y,'-');
hold
x = linspace(1.1,10);
y = acoth(x);
plot(x,y,'-');
xlabel('x')
ylabel('acoth(x)')
Output

acoth_image