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!