• Remix
  • Share
  • New Entry

on 13 Oct 2022
  • 3
  • 4
  • 0
  • 0
  • 203
x = -30:1:30;
[X, Y ]=meshgrid(x,x);
Z=-20*exp(-0.2*sqrt((X).^2+(Y).^2));
surf(X,Y,Z,EdgeC='n')
hold on
[X,Y,Z] = sphere;
r = 9;
surf(X * 0.5*r,Y *r,Z *r,'FaceAlpha',0.5,FaceC=[1 0 0],EdgeC='n')
view(-90,-60)
axis off
Remix Tree