www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/InverseTangentofVectorExample.m

    %% 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.