Area of intersection of two ellipses

22 Ansichten (letzte 30 Tage)
Paul Meyer
Paul Meyer am 1 Apr. 2020
Kommentiert: Paul Meyer am 1 Apr. 2020
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.

Akzeptierte Antwort

KSSV
KSSV am 1 Apr. 2020
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

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by