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

    %% Inverse Cosecant of a Vector of Complex Angles  
% Find the inverse cosecant of the elements of vector |x|. The |acsc|
% function acts on |x| element-wise.

%%  
x = [0.5i 1+3i -2.2+i];
Y = acsc(x)