Discretize sphere into 3xN points
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hannah Rosenberg
el 15 de Abr. de 2021
Comentada: Hannah Rosenberg
el 15 de Abr. de 2021
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 comentarios
Jan
el 15 de Abr. de 2021
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?
Respuesta aceptada
Jan
el 15 de Abr. de 2021
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
Más respuestas (0)
Ver también
Categorías
Más información sobre Surface and Mesh Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!