Generating uniformly distributed points in a spherical volume

Is there any method to generate uniformly distributed points(3D coordinates) in a spherical volume?
Thanks

 Respuesta aceptada

Image Analyst
Image Analyst el 17 de Feb. de 2018
Editada: Image Analyst el 17 de Feb. de 2018
See the links on the right hand side of this page. Especially the one by Roger Stafford https://www.mathworks.com/matlabcentral/fileexchange/9443-random-points-in-an-n-dimensional-hypersphere?s_tid=answers_rc2-3_p6_MLT who always writes excellent algorithms.
Do you want uniformly distributed random locations, or uniformly distributed like a periodic grid?

Más respuestas (0)

Preguntada:

el 17 de Feb. de 2018

Comentada:

el 17 de Feb. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by