フィルターのクリア

overlap between between multiple circles using circcirc

5 ビュー (過去 30 日間)
KalMandy
KalMandy 2017 年 3 月 24 日
編集済み: Asatur Khurshudyan 2019 年 12 月 20 日
Hi all,
I have 10 circles with random center positions but with same radius (but the radius, R= r1:r2). I want to find the intersection points where these circles overlap with eachother at each value of the radius. How can I find these points/ x,y coordinates using the circcirc function inside a for loop?
Thank you.
  1 件のコメント
Asatur Khurshudyan
Asatur Khurshudyan 2019 年 12 月 20 日
編集済み: Asatur Khurshudyan 2019 年 12 月 20 日
Did you find the answer? I encountered the same problem. This post seem to give an answer.

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

回答 (1 件)

Image Analyst
Image Analyst 2017 年 3 月 24 日
Try poly2mask()
  5 件のコメント
Image Analyst
Image Analyst 2017 年 3 月 25 日
In some cases there will not be coordinates since the circles do not overlap.
KalMandy
KalMandy 2017 年 3 月 25 日
yes i know, my problem is the way i have written [xout,yout] =circcirc... .This only gives the answer for the last case (intersection between circle 9 and 10 with radius r2). maybe it has to be written [xout(i),yout(i)] ?? but this doesnot work too.

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

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by