| MATLAB Function Reference | ![]() |
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.
Graph the inverse cotangent over the domains
and
.
x1 = -2*pi:pi/30:-0.1; x2 = 0.1:pi/30:2*pi; plot(x1,acot(x1),x2,acot(x2)), grid on

The inverse cotangent can be defined as
![]()
acot uses FDLIBM, which was developed at SunSoft, a Sun Microsystems™ business, by Kwok C. Ng, and others. For information about FDLIBM, see http://www.netlib.org.
![]() | acosh | acotd | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |