How do i plot equal size of circle in square(100*100 m^2) without overlapping?
3 views (last 30 days)
Show older comments
Manisha Kumari
on 22 Oct 2021
Commented: Manisha Kumari
on 26 Oct 2021
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 Comments
Accepted Answer
Image Analyst
on 22 Oct 2021
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 Comments
Image Analyst
on 23 Oct 2021
So if they're using varying size radii, you just use a constant radius. Not sure why that would be a major hurdle.
More Answers (1)
Jan
on 22 Oct 2021
Edited: Jan
on 22 Oct 2021
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 Comments
Image Analyst
on 23 Oct 2021
@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?
See Also
Categories
Find more on Surface and Mesh Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!