next up previous
Next: Sort-1 Up: Sample Programs Previous: Display

Calc_Print_sin

%
% 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)



Russ Miller
Thu Sep 14 13:56:19 EDT 1995