Discretize sphere into 3xN points
12 次查看(过去 30 天)
显示 更早的评论
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 个评论
Jan
2021-4-15
Then sphere is not the best point to start. Do you have any specifications for discretization? Do you want radom point, equi-distributed points, or do you have a specific set of values for N?
采纳的回答
Jan
2021-4-15
See:
- https://www.mathworks.com/matlabcentral/answers/353-uniform-distribution-of-n-points-within-a-sphere
- https://www.mathworks.com/matlabcentral/answers/44481-how-to-pick-n-random-points-on-a-sphere
- https://www.mathworks.com/matlabcentral/fileexchange/57877-mysphere-n
- https://www.mathworks.com/matlabcentral/fileexchange/58453-spheretri
- https://www.mathworks.com/matlabcentral/answers/92406-is-it-possible-to-generate-the-coordinates-of-evenly-spaced-point-on-a-sphere-or-ellipsoid-in-matlab
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!