- /
-
my_home
on 27 Oct 2021
- 6
- 23
- 3
- 0
- 180
%set up mesh
n=200;
x=linspace(-2,5,n);
y=linspace(-2,4,n);
z=linspace(-2,5,n);
[X,Y,Z]=ndgrid(x,y,z);
%Compute function at every point in mesh
F=X.^20+Y.^20+Z.^2+2000*(X.^20+Y.^20).*(X.^2+Z.^3).*(Y.^2+Z.^2);
%generate plot
isosurface(F,1);
axis off;
view([-48 18]);