Generating uniformly distributed points in a spherical volume

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

 채택된 답변

Image Analyst
Image Analyst 2018년 2월 17일
편집: Image Analyst 2018년 2월 17일

0 개 추천

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?

추가 답변 (0개)

카테고리

질문:

2018년 2월 17일

댓글:

2018년 2월 17일

Community Treasure Hunt

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

Start Hunting!

Translated by