Plot sphere with different resolution in long and lat direction
Afficher commentaires plus anciens
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!
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Surface and Mesh Plots dans Centre d'aide et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!