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?

1 件のコメント

shyam kumar m
shyam kumar m 2018 年 2 月 17 日
Random locations are fine for the current problem.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Community Treasure Hunt

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

Start Hunting!

Translated by