Generating uniformly distributed points in a spherical volume
8 views (last 30 days)
Show older comments
shyam kumar m
on 17 Feb 2018
Commented: shyam kumar m
on 17 Feb 2018
Is there any method to generate uniformly distributed points(3D coordinates) in a spherical volume?
Thanks
0 Comments
Accepted Answer
Image Analyst
on 17 Feb 2018
Edited: Image Analyst
on 17 Feb 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?
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!