%% Plot Tangent Function
% Plot the tangent function over the domain -\pi/2 \leq x \leq \pi/2 .

x = (-pi/2)+0.01:0.01:(pi/2)-0.01;
plot(x,tan(x)), grid on

% Copyright 2015 The MathWorks, Inc.