%Lesson 1 - Math 151 
%First read in data from a file
%   load a:leafstat.dat
%if the file is on a floppy in the a: drive
%Then read in a command file that is
%this file of commands for MATLAB which you have
%saved in a file called lesson1.m on your floppy.
%First tell MATLAB to use the a: drive
%   !a:
%then tell it to run lesson1
%   lesson1
%If the file lesson1.m is not on your floppy but
%rather is on the Math Lab computer, use instead
%   !cd w:\math\math151\mfiles
%and then type lesson1
%
who,pause
!c:
plot(l,w,'+w')
title('l versus w'),pause
hist(l)
title('l'),pause
hist(w)
title('w'),pause
meanl=mean(l),meanw=mean(w),pause
plot(l,w,'+w',mean(l),mean(w),'or')
title('l versus w with mean'),pause
stdl=std(l),stdw=std(w),pause


