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

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