%% Inverse Tangent of Vector

x = [-50 -20 0 20 50];
y = atand(x)

% The atand operation is element-wise when you pass a vector, matrix, or N-D array.
% Copyright 2012 The MathWorks, Inc.