Documentation Center

  • Trial Software
  • Product Updates


Inverse cotangent in radians


Y = acot(X)


Y = acot(X) returns the inverse cotangent (arccotangent) for each element of X.

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


expand all

Graph of Inverse Cotangent Function

Graph the inverse cotangent function over the domains $-2 \pi \le x < 0$ and $0 < x \le 2\pi$ .

x1 = -2*pi:pi/30:-0.1;
x2 = 0.1:pi/30:2*pi;
plot(x1,acot(x1),x2,acot(x2)), grid on

More About

expand all

Inverse Cotangent

The inverse cotangent can be defined as

See Also

| |

Was this topic helpful?