フィルターのクリア

How can I create randon non-overlapping equal circles under a sine curve?

8 ビュー (過去 30 日間)
Continuum
Continuum 2023 年 1 月 13 日
コメント済み: Jiri Hajek 2023 年 1 月 18 日
Hello everyone,
I am trying to plot closely packed circle having the same radius under a sine curve. I have been trying for a while, but I can't seem to get the overlapping part to work. The circumferences of the outer circles must touch the borders x = 0, y = 0, y = f(x), x = x_max (or at least be within this region). I have attached my attempt so far and an image of a similar (3D, but mine is 2D in x-y plane) of what I am planning to do, any help will be greatly appreciated. Thank you!
  3 件のコメント
Continuum
Continuum 2023 年 1 月 13 日
Hi Jiri,
Is it the same difficulty with the 2D version, as that’s what I’m looking to do right now? In this case, just placing circles (not spheres) under the curve? Thanks.
Jiri Hajek
Jiri Hajek 2023 年 1 月 18 日
Yes, I'd say so... It really depends on the objectives / purpose / physical meaning, if any. Your description does not explain this, so suggestions you get may range wildly and may be unsuitable for your needs.

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

回答 (1 件)

Image Analyst
Image Analyst 2023 年 1 月 16 日
Click the "circle packing" tag on the right and you'll find lots of questions dealing with circle packing that you can adapt. I'm also attaching a bunch of circle-related demos you can adapt.
  1 件のコメント
Continuum
Continuum 2023 年 1 月 18 日
@Image Analyst Thanks for your input, I will try to adapt them to this problem. Regards.

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

カテゴリ

Help Center および File ExchangeLeast Squares についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by