Discretize a volume into smaller known volume sizes
조회 수: 6 (최근 30일)
이전 댓글 표시
Hello guys,
I have a simple shape at my disposal, and I would like to know how to discretize it. For example if I have a sphere of say 1m diameter, I would like to obtain n number of smaller spheres of a diameter of 10mm and know where they are located in space.
If my sphere is located at [0, 0, 0], then it will obviously extend to 0.5m in each direction. What I want to obtain is smaller spheres that will take up the space of the big one, and have coordinates for each of the smaller spheres.
I am using Simmechanics
Any help?
댓글 수: 0
답변 (1개)
Walter Roberson
2015년 10월 13일
It can be demonstrated that you would require an infinite number of smaller spheres with an infinite number of sizes in order to fill the larger sphere.
https://en.wikipedia.org/wiki/Sphere_packing
댓글 수: 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!