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

    %% Inverse Secant of a Vector of Complex Values  
% Find the inverse secant of the elements of vector |x|. The |asec|
% function acts on |x| element-wise.

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