counter=1; for i=-1:0.01:1, image(counter) = sqrt ( 0.20 - i.^2); counter = counter + 1; end
0001 % counter=1; 0002 % for i=-1:0.01:1, 0003 % image(counter) = sqrt ( 0.20 - i.^2); 0004 % counter = counter + 1; 0005 % end 0006 0007 clear; 0008 e = rand; 0009 0010 width = 50 / 3; 0011 0012 for x=1:width, 0013 y(x) = e * sqrt(width.^2 - x.^2); 0014 end 0015 0016 plot(y)