How to generate randomly packed spheres of equal radius such that there is no overlapping
5 次查看(过去 30 天)
显示 更早的评论
I have a cubic domain of size 100x50x50. How can i use the "sphere" function in matlab to generate spheres that are randomly packed inside the cube? For instance, i want 50 spheres of say radius 5 (to be packed randomly inside this cubic domain) and also a condition that the spheres should not overlap with each other. How can I code this in matlab? help me, thanks!
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Surface and Mesh Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!