Graph of slice of a sphere

7 views (last 30 days)
Andrew Olson
Andrew Olson on 16 Jul 2015
So I want to graph a slice of a sphere with center at (0,0,0) and radius of 140. I have a set dimension for what theta values I want and what phi values I want. For example:
r = 140 thetalower = 9*pi/64; thetaupper = pi/2; philower = 5*pi/24; phiupper = 19*pi/64;
and I want a 3D mesh graph of this "slice" of sphere stemming from the center (so not just the surface of the sphere). I would like it to be able to also output a table of values for the points used to make the slice. If anyone could help, I would appreciate it.

Answers (0)

Community Treasure Hunt

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

Start Hunting!