MATLAB Answers

Info

이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.

Outline of two intersecting curves

조회 수: 1(최근 30일)
BeeTiaw
BeeTiaw 2018년 8월 31일
마감: MATLAB Answer Bot 2021년 8월 20일
Hi,
I am trying to get the x and y coordinate an outline produces by two or three intersecting circles as shown in the figure. Coordinate of the two circles are available below.
How can we do this automatically? I have hundreds of figures like this with known coordinate. The shape can be arbitrary, not necessarily circle.
What I want is just to get the x and y coordinate of the final shape.
X Y
================
1.0000 0
0.9848 0.1736
0.9397 0.3420
0.8660 0.5000
0.7660 0.6428
0.6428 0.7660
0.5000 0.8660
0.3420 0.9397
0.1736 0.9848
0.0000 1.0000
-0.1736 0.9848
-0.3420 0.9397
-0.5000 0.8660
-0.6428 0.7660
-0.7660 0.6428
-0.8660 0.5000
-0.9397 0.3420
-0.9848 0.1736
-1.0000 0.0000
-0.9848 -0.1736
-0.9397 -0.3420
-0.8660 -0.5000
-0.7660 -0.6428
-0.6428 -0.7660
-0.5000 -0.8660
-0.3420 -0.9397
-0.1736 -0.9848
-0.0000 -1.0000
0.1736 -0.9848
0.3420 -0.9397
0.5000 -0.8660
0.6428 -0.7660
0.7660 -0.6428
0.8660 -0.5000
0.9397 -0.3420
0.9848 -0.1736
1.0000 -0.0000
The coordinate of the smaller circle
x y
================
1.4000 0
1.3939 0.0695
1.3759 0.1368
1.3464 0.2000
1.3064 0.2571
1.2571 0.3064
1.2000 0.3464
1.1368 0.3759
1.0695 0.3939
1.0000 0.4000
0.9305 0.3939
0.8632 0.3759
0.8000 0.3464
0.7429 0.3064
0.6936 0.2571
0.6536 0.2000
0.6241 0.1368
0.6061 0.0695
0.6000 0.0000
0.6061 -0.0695
0.6241 -0.1368
0.6536 -0.2000
0.6936 -0.2571
0.7429 -0.3064
0.8000 -0.3464
0.8632 -0.3759
0.9305 -0.3939
1.0000 -0.4000
1.0695 -0.3939
1.1368 -0.3759
1.2000 -0.3464
1.2571 -0.3064
1.3064 -0.2571
1.3464 -0.2000
1.3759 -0.1368
1.3939 -0.0695
1.4000 -0.0000

답변(0개)

태그

Community Treasure Hunt

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

Start Hunting!

Translated by