How to create a point cloud for a sphere?

6 Ansichten (letzte 30 Tage)
Jared Backues
Jared Backues am 28 Feb. 2017
Beantwortet: Star Strider am 28 Feb. 2017
I'm trying to create a point cloud for a sphere, that I will later triangulate to get the surface. I have seen this done for unit spheres but not for ones that have an offset center-point and a designated radius.
The sphere has a radius of r=2
The center-point of the sphere at [0,0,7]

Akzeptierte Antwort

Star Strider
Star Strider am 28 Feb. 2017
See the documentation for the scatter3 function. It has examples that illustrate how to do what you want.

Weitere Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by