%% Inverse Tangent of Four Points on the Unit Circle

x = [1 0 -1 0];
y = [0 1 0 -1];
d = atan2d(y,x)

% Copyright 2012 The MathWorks, Inc.