I have used the following code to create a hemisphere with radius 10. Unfortunately I don't really understand what the code does, so if someone could explain this that would be great. Please try to be as detailed as possible, thanks.
figure (1)[x,y,z]=sphere;x=x(11:end,:);y=y(11:end,:);z=z(11:end,:);r=10;hemisphere=surf(r.*x,r.*y,r.*z);axis equal
Best Answer