%% Inverse Cotangent of a Vector of Complex Values
% Find the inverse cotangent of the elements of vector x. The acot function acts on x element-wise.

x = [0.5i 1+3i -2.2+i];
Y = acot(x)

% Copyright 2012 The MathWorks, Inc.