Guest User

Untitled

a guest
Feb 17th, 2019
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.18 KB | None | 0 0
  1. a=-1.4:0.02:1.4;
  2. [X,Y,Z] = meshgrid(a);
  3. F =((X.^2)+(9/4).*(Y.^2)+(Z.^2)-1).^3-(X.^2).*(Z.^3)-(9/80).*(Y.^2).*(Z.^3);
  4. patch(isosurface(X,Y,Z,F,0),'EdgeColor','r')
  5. axis equal
  6. view([-43 13]);
Add Comment
Please, Sign In to add comment