how to draw circles inside each other

6 ビュー (過去 30 日間)
shiro
shiro 2014 年 2 月 11 日
コメント済み: shiro 2014 年 2 月 11 日
I want to create a random a polygon then I want to fill the polygon with circles with 3 different radiuses, I want to fill it first using the largest radius then with the smaller radiuses but the circles should not intersect with the polygon or with other circles please help me

採用された回答

Image Analyst
Image Analyst 2014 年 2 月 11 日
Feel free to adapt my demo, attached below.

その他の回答 (1 件)

Mark
Mark 2014 年 2 月 11 日
Create the polygon, create a circle as large as you want, with the radius being your main variable. Pass the radius of your first circle to whatever is drawing your next circle. If you create the circle with the center being the same as the previous circle, and a smaller radius, you are guaranteed to not create a circle that inserects with the previous one(s).
  1 件のコメント
shiro
shiro 2014 年 2 月 11 日
Thank you

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeElementary Polygons についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by