I'm looking for a way to plot a 3d sphere given its equation. Eg: (x-a)^2 + (y-b)^2 + (z-c)^2 <= RI found that 'sphere' allows me to plot a unit sphere and that I can change its center using 'surf'. However, I don't see anyway to change the radius. I haven't tried 'sphere3d', but from its documentation, it looks like I have to convert my equation to the polar coordinate system.Is there any other function in matlab that can plot a sphere given an equation like above? Thanks,
MATLAB: Plotting 3d sphere from equation
3dplotradiussphere
Best Answer