%% Inverse Tangent of a Vector of Complex Values
% Find the inverse tangent of the elements of vector x. The atan function acts on x element-wise.

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

% Copyright 2012 The MathWorks, Inc.