%% Plot the Inverse Cotangent Function
% Plot the inverse cotangent function over the intervals -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),'b')
hold on
plot(x2,acot(x2),'b')
grid on

% Copyright 2015 The MathWorks, Inc.