%% Round-Trip Calculation for Complex Angles
% Show that the inverse cosine, followed by cosine, returns the original values of X.

cosd(acosd([2 3]))

% acosd([2 3]) returns two complex angles, which are then passed to the cosd function. cosd returns the original values, 2 and 3.
% Copyright 2012 The MathWorks, Inc.