% % This is a self-contained matlab program that % generates (x,y) coordinates for sin(x) in the % range of [0-2pi] % X=0:pi/20:2*pi Y=sin(X) plot(X,Y)