• Remix
  • Share
  • New Entry

on 6 Oct 2021
  • 10
  • 31
  • 0
  • 0
  • 279
f='FaceColor';
[A B C]=cylinder(1,99);
surf(A,B,C/3+0.5,f,[1 .8 .1],'linestyle',':');hold on
z=max(C/3+.5);
text(-.9,-1,.7,'MATLAB20','Color','r')
for i=1:20
[x y z]=cylinder(.03,9);
z=z/7+.8;
w=z/20+.948;
x=x+.9*cos(i*pi/20*2);
y=y+.9*sin(i*pi/20*2);
surf(x,y,z,f,'y');
surf(x,y,w,f,'r');axis off
end
Remix Tree