How do i plot equal size of circle in square(100*100 m^2) without overlapping?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Manisha Kumari
le 22 Oct 2021
Commenté : Manisha Kumari
le 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 commentaires
Réponse acceptée
Image Analyst
le 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 commentaires
Image Analyst
le 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.
Plus de réponses (1)
Jan
le 22 Oct 2021
Modifié(e) : Jan
le 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 commentaires
Image Analyst
le 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?
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!