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

    %% Inverse Cosine of a Vector of Complex Values
% Find the inverse cosine of the elements of vector |x|. The |acos|
% function acts on |x| element-wise.
x = [0.5i 1+3i -2.2+i];
y = acos(x)