• Remix
  • Share
  • New Entry

on 14 Oct 2022
  • 2
  • 13
  • 0
  • 0
  • 228
n=16;
Mat=[128 0;0 128];
Mat=repmat(Mat,[n/2 n/2 3]);
y=[9,14,8,13,2,12,6,1,10,4,15,3,11,16,7,5];
for i=1:n
r=i;
c=y(i);
Mat(r,c,1)=255;
Mat(r,c,2)=0;
Mat(r,c,3)=0;
end
imagesc(Mat)
title('Thanks , Please Vote For Me')
xlabel('Solution of 16 queens')
Remix Tree