• Remix
  • Share
  • New Entry

on 11 Oct 2021
  • 10
  • 46
  • 0
  • 0
  • 276
%This is a nice encoder
th=30:60:390;
t=.866;
x1=@(i)cosd(th)+2*i*t;
y1=@(j)sind(th)+3*j-3;
z1=@(i,j,e,f)patch(x1(i)+e,y1(j)+f,[.94 .94 .94]);
ct=1;
p=gobjects(2*25*11,1);
for i=1:25
for j=1:11
p(ct)=z1(i,j,0,0);
p(ct+1)=z1(i,j,t,1.5);
ct=ct+2;
end
end
axis equal off
%Trying the mesaage
set(p(abs('MATLAB20 Celebration')),'FaceColor',[.9 .5 0])
Remix Tree