sphere - increase granularity

1 view (last 30 days)
Viesturs Veckalns
Viesturs Veckalns on 17 Oct 2017
Answered: KSSV on 17 Oct 2017
Is there a way to increase the granularity of the grid produced by the
sphere
command?

Accepted Answer

KSSV
KSSV on 17 Oct 2017
n = 100 ; % you may change n
[x,y,z] = sphere(n);
surf(x,y,z)

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!