# Unequal circles in a rectangle partition into k equal layers

4 ビュー (過去 30 日間)
Nura Modi 2019 年 12 月 8 日
Answered: Image Analyst 2019 年 12 月 8 日
How can I create circles of different sizes in a rectangle divided into k equal layers. The circles in the first layer are equal and smaller. The circles in the second layers are also equal but bigger than the first layer. This continues in that order. The common radius difference between the two adjacent layer circles is fix
Thank you

#### 8 件のコメント

dpb 2019 年 12 月 8 日
[OP Answer moved to comment--dpb. Use the comment button for other than actual answer to the question, please]
Thank you Sir. For example if we have ten circles in the first part with smallest radius. Taking the double of the radius of the first layer in the second layer, it is likely to obtain five circles in the second layer. The common radius difference between the circles in the two adjacent layers is likely to be fixed.I am not sure about this. Please Sir, what is the best way to address this in MATLAB. Many thanks @dpb
dpb 2019 年 12 月 8 日
For two and if you let the ratio be two and pick a first number divisible by two it works, yes.
Try three or pick 25 circles for the first....now what????
We don't have a working definition of what is an allowable solution yet, too soon to worry about code.
Nura Modi 2019 年 12 月 8 日
If the number of circles can be even it would be better. If number of circles is three,25 or any odd number actually I don't know how to handle this. My thought was that the number of circles could be even. Thank so much Sir.

サインイン to comment.

### 採用された回答

Image Analyst 2019 年 12 月 8 日