%% Plot Cosine Function
% Plot the cosine function over the domain -\pi \leq x \leq \pi.

x = -pi:0.01:pi; 
plot(x,cos(x))
grid on

% Copyright 2015 The MathWorks, Inc.