MATLAB Answers

Discretize sphere into 3xN points

15 views (last 30 days)
Hannah Rosenberg
Hannah Rosenberg on 15 Apr 2021 at 15:46
Commented: Hannah Rosenberg on 15 Apr 2021 at 17:13
I need to discretize a sphere into 3xN points. I know the sphere function in Matlab will generate points, but it generates the X, Y, Z coordinates as matrices. I don't really understand how these matrices work to convert them into a list of 3XN cartesian coordinates. Thanks
  2 Comments
Hannah Rosenberg
Hannah Rosenberg on 15 Apr 2021 at 17:03
I have a specified radius and centre. Being able to specify a set value of N would be nice but not necessary.

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!

Translated by