How can i plot small circles inside a large circle without the small circles touching

I need to come up with a function which requires the following two inputs:
1. radius of the large circle
2. number of small circles to be put inside large circle
The function should then plot the small circles inside the large circle

Answers (1)

I'm pretty sure nice code for this has been posted before. Just search for circle packing or click on the tag on the right of this page.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Asked:

on 12 May 2020

Answered:

on 12 May 2020

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!