gistlib
main.mimg = zeros(100, 100); [x, y] = meshgrid(1:100, 1:100); circle = sqrt((x-50).^2 + (y-50).^2) <= 25; img(circle) = 255; imshow(img, []); 136 chars6 lines
img = zeros(100, 100); [x, y] = meshgrid(1:100, 1:100); circle = sqrt((x-50).^2 + (y-50).^2) <= 25; img(circle) = 255; imshow(img, []);
gistlibby LogSnag