RosettaCodeData/Task/Munching-squares/MATLAB/munching-squares.m
2023-07-01 13:44:08 -04: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;