acothInverse hyperbolic cotangent
acoth(A)A should be an array, which can be real or complex.A.A lying in A.acoth(x) returns a complex number when
x = linspace(-1,1,10);
y = acoth(x)
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
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)')
