overlap between between multiple circles using circcirc

5 次查看(过去 30 天)
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 个)

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 CenterFile Exchange 中查找有关 Surface and Mesh Plots 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by