%% Secant of 90 degrees compared to secant of π/2 radians

secd(90)

%

sec(pi/2)

% secd(90) is infinite, whereas sec(pi/2) is large but finite.
% Copyright 2012 The MathWorks, Inc.