Area of intersection of two ellipses

조회 수: 21 (최근 30일)
Paul Meyer
Paul Meyer 2020년 4월 1일
댓글: Paul Meyer 2020년 4월 1일
I have two defined ellipses (semi-major, semi-minor and orientation angle) that overlap each other. I'd like to find the largest ellipse that will fit within the intersection (the ellipse that most closely matches the area of the intersection region, like the red one). I'd need to define the red ellipse's semi-major, semi-minor and orientation angle.

채택된 답변

KSSV
KSSV 2020년 4월 1일
You can follow the below steps.
  1. For the two ellipses i.e get coordinates of both the ellipses. Let L1, L2 be your coordinates of both the ellipses.
  2. Use this function interx to get the the intersection points. This will give you four points. https://in.mathworks.com/matlabcentral/fileexchange/22441-curve-intersections?focused=5165138&tab=function
  3. Use this function to fit the ellipse. https://in.mathworks.com/matlabcentral/fileexchange/3215-fit_ellipse
  댓글 수: 1
Paul Meyer
Paul Meyer 2020년 4월 1일
I'll give this a try. Thanks.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by