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

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