overlap between between multiple circles using circcirc
Mostrar comentarios más antiguos
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 comentario
Asatur Khurshudyan
el 20 de Dic. de 2019
Editada: Asatur Khurshudyan
el 20 de Dic. de 2019
Respuestas (1)
Image Analyst
el 24 de Mzo. de 2017
0 votos
Try poly2mask()
5 comentarios
KalMandy
el 24 de Mzo. de 2017
Image Analyst
el 24 de Mzo. de 2017
What EXACTLY do you want to know? Let's say that you have 10 circles. Do you want to know
- The (x,y) coordinates of where circle #1 overlaps circle #2
- The (x,y) coordinates of where circle #1 overlaps circle #3
- The (x,y) coordinates of where circle #1 overlaps circle #4
- The (x,y) coordinates of where circle #1 overlaps circle #5
- The (x,y) coordinates of where circle #1 overlaps circle #6
- The (x,y) coordinates of where circle #1 overlaps circle #7
- The (x,y) coordinates of where circle #1 overlaps circle #8
- The (x,y) coordinates of where circle #1 overlaps circle #9
- The (x,y) coordinates of where circle #1 overlaps circle #10
- The (x,y) coordinates of where circle #2 overlaps circle #3
- The (x,y) coordinates of where circle #2 overlaps circle #4
- The (x,y) coordinates of where circle #2 overlaps circle #5
- The (x,y) coordinates of where circle #2 overlaps circle #6
and so on - a full factorial of every possible combination of every circle overlapping with every other circle? If so, WHY ? Explain the user case.
Or do you just want the (x,y) coordinates of where the perimeters cross? If so, you can just set the two equations equal to each other and solve for x and y using solve(), or roots() or something like that.
Image Analyst
el 25 de Mzo. de 2017
In some cases there will not be coordinates since the circles do not overlap.
KalMandy
el 25 de Mzo. de 2017
Categorías
Más información sobre Data Type Conversion en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!