www.gusucode.com > matlab 案例源码 matlab代码程序 > matlab/GraphTheInverseSecantExample.m
%% Graph the Inverse Secant % Graph the inverse secant over the domains $1 \le x \le 5$ and $-5 \le x % \le -1$. %% % Copyright 2015 The MathWorks, Inc. x1 = -5:0.01:-1; x2 = 1:0.01:5; plot(x1,asec(x1),x2,asec(x2)), grid on