function myarray = squares1(n) 
%Doc example. Chapter 4.
% $Revision: 1.1 $

for i = 1:n 
  myarray(i) = i * i; 
end
