Filter löschen
Filter löschen

overlap between between multiple circles using circcirc

5 Ansichten (letzte 30 Tage)
KalMandy
KalMandy am 24 Mär. 2017
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 Kommentar
Asatur Khurshudyan
Asatur Khurshudyan am 20 Dez. 2019
Bearbeitet: Asatur Khurshudyan am 20 Dez. 2019
Did you find the answer? I encountered the same problem. This post seem to give an answer.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Image Analyst
Image Analyst am 24 Mär. 2017
Try poly2mask()
  5 Kommentare
Image Analyst
Image Analyst am 25 Mär. 2017
In some cases there will not be coordinates since the circles do not overlap.
KalMandy
KalMandy am 25 Mär. 2017
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.

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by