RosettaCodeData/Task/Munching-squares/MATLAB/munching-squares.m
2015-02-20 09:02:09 -05:00

8 lines
104 B
Matlab

size = 256;
[x,y] = meshgrid([0:size-1]);
c = bitxor(x,y);
colormap bone(size);
image(c);
axis equal;