%% Calculate Difference Between Two Angle Arrays

d = angdiff([pi/2 3*pi/4 0],[pi pi/2 -pi])

% Copyright 2019 The MathWorks, Inc.