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