MATLAB: Plotting sphere and rectangle mesh

meshrectanglesphere

need help on plotting something like this :
any idea ?

Best Answer

sphere(20)
axis square
You can get the coordinates x,y and z
[x,y,z]=sphere(20)
You can plot a sphere
surf(x,y,z)
Related Question