필터 지우기
필터 지우기

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 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