Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the page.

acoth

Inverse hyperbolic cotangent

Syntax

Y = acoth(X)

Description

Y = acoth(X) returns the inverse hyperbolic cotangent for each element of X.

The acoth function operates element-wise on arrays. The function's domains and ranges include complex values. All angles are in radians.

Examples

collapse all

Graph the inverse hyperbolic cotangent function over the domains $-30 \le x < -1$ and $1 < x \le 30$.

x1 = -30:0.1:-1.1;
x2 = 1.1:0.1:30;
plot(x1,acoth(x1),x2,acoth(x2))
grid on
xlabel('x')
ylabel('y')

More About

collapse all

Inverse Hyperbolic Cotangent

For real values x in the domain <x<1 and 1<x<, the inverse hyperbolic cotangent satisfies

coth1(x)=tanh1(1x)=12log(x+1x1).

For complex numbers z=x+iy as well as real values in the domain 1z1, the call acoth(z) returns complex results.

Tall Array Support

This function fully supports tall arrays. For more information, see Tall Arrays.

See Also

| | | |

Introduced before R2006a

Was this topic helpful?