%% Calculate Difference Between Two Angles

d = angdiff(pi,2*pi)

% Copyright 2019 The MathWorks, Inc.