%% Inverse Secant of Vector

x = [10 1 Inf];
y = asecd(x)

% The asecd operation is element-wise when you pass a vector, matrix, or N-D array.
% Copyright 2012 The MathWorks, Inc.