Here is my code so far:
theta= 0:2*pira=1r=0:rax=r*cos(theta)y=r*sin(theta)z=sqrt(ra^2-x^2-y^2)surf(x,y,z,'r')axis equaltitle('Spherical')
MATLABsurf
theta= 0:2*pira=1r=0:rax=r*cos(theta)y=r*sin(theta)z=sqrt(ra^2-x^2-y^2)surf(x,y,z,'r')axis equaltitle('Spherical')
Best Answer