%% Inverse Cosine of 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)

% Copyright 2012 The MathWorks, Inc.