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

    %% Cosecant of Vector of Complex Angles
% Calculate the cosecant of the complex angles in vector |x|.

% Copyright 2015 The MathWorks, Inc.

x = [-i pi+i*pi/2 -1+i*4];
y = csc(x)