Interpolation Demo
A script that shows the effect of using discrete samples as opposed to continuous.
clf;
for steps = 3:20
x = 0:2*pi/steps:2*pi;
y = sin(x);
plot(x,y,'o-');
grid;
axis([0 2*pi -1.2 1.2]);
pause(0.5)
end