Hi everybody,
I would like to modify MATLAB's
sphere(n)
function such that I can plot a sphere with different resolution in longitudinal and latitudinal direction, i.e. something like
sphere(10,100)
would plot a sphere (and return its [X,Y,Z] grid) with 10 segments in latitudinal direction (north to south) and 100 segments in longitudinal direction (west to east), evenly spaced. What's the quickest way to doing this?
Thanks a lot!
Best Answer