Welcome to Scribd!
Academic Documents
Professional Documents
Culture Documents
Hobbies & Crafts Documents
Personal Growth Documents
%th=linspace(-pi,pi,N);ph=linspace(0,pi,N/2);[Th Ph]=meshgrid(th,ph);Xe=R*sin(Ph).*cos(Th);Ye=R*sin(Ph).*sin(Th);Ze=R*cos(Ph);surf(Xe,Ye,Ze)end