• Remix
  • Share
  • New Entry

on 6 Oct 2021
  • 5
  • 216
  • 13
  • 0
  • 280
%%Chess Board with colour
a=zeros(8,8);
for i=1:8
for j=1:8
if mod((i+j),2)==0
a(i,j)=1;
end
end
end
h=imagesc(a);
colormap gray
h.AlphaData =.8;
%% Arrangement of chess pieces
a=ones(1,8);
b=1:8;
c='color';
h=text(b,a.*2,char(9817),c,'y');
h=text(b,a.*7,char(9817));
d=[0 2 1 -1 -2 1 2 0]+9814;
e=d+6;
for i=1:8
h=text(i,1,char(e(i)),c','y');
h=text(i,8,char(d(i)));
end
Remix Tree
Load full remix tree