How do i plot equal size of circle in square(100*100 m^2) without overlapping?
6 次查看(过去 30 天)
显示 更早的评论
I have a square with L=100 and W=100, as well as a circle with a fixed diameter.
Without overlapping, i have to fill this square with the circle.
(All circles must be the same size and fit within the given square range.)
0 个评论
采纳的回答
Image Analyst
2021-10-22
Click on the "circle packing" tag on the right. This has been asked many times and there are several solutions with slight variations. Write back if you still need help.
3 个评论
Image Analyst
2021-10-23
So if they're using varying size radii, you just use a constant radius. Not sure why that would be a major hurdle.
更多回答(1 个)
Jan
2021-10-22
编辑:Jan
2021-10-22
This is an extremly challeging task. See
- https://en.wikipedia.org/wiki/Circle_packing
- https://en.wikipedia.org/wiki/Circle_packing_in_a_square
Is this a homework for pupils or a PhD?
2 个评论
Image Analyst
2021-10-23
@Manisha Kumari, OK, I assume since circle packing is nothing "new to the world" and you don't need to invent it as the main part of your thesis, that you can borrow existing circle packing code. So did you follow my suggestion to click on the tag? If not, why not?
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!