% Script plots
% Illustrates array operations in the context of plotting.

close all

% Plot f(x) = (.2*x^3 - x) ./ (2 + cos(x)) across [-2*pi,2*pi]
x = linspace(-2*pi,2*pi,200);
y = (.2*x.^3 - x)./(1.1 + cos(x));
plot(x,y)