Finding 8 points on an ellipse
古いコメントを表示
Dear experts,
I have created a 95% confidence ellipse using the following code around a dataset:
allX = score(:,1);
allY = score(:,2);
p = 95;
CIx = prctile(allX, [(100-p)/2, p+(100-p)/2]);
CIy = prctile(allY, [(100-p)/2, p+(100-p)/2]);
CIrng(1) = CIx(2)-CIx(1);
CIrng(2) = CIy(2)-CIy(1);
llc = [CIx(1),CIy(1)];
rectangle('Position',[llc,CIrng],'Curvature',[1,1], 'EdgeColor',"red");

Now I need to find 8 specific points on the ellipse. Points W - Z have to be the lowest, highest, most right and most left of the ellipse (as you can see here (those are normally not the problem, i think you don´t have to help me with these four points):

The points A-D are more of a problem for me. How can I find these? They are somehow the corners of the rectangle so the corners of the ellipse, but how do I find the coordinates of those?
Thanks in advance.
4 件のコメント
Tom
2021 年 9 月 20 日
Walter Roberson
2021 年 9 月 20 日
The placement is not obvious .
Is the sector area A to center to W (to A) equal to the sector area X to center to A (to X) ? https://math.stackexchange.com/questions/114371/deriving-the-area-of-a-sector-of-an-ellipse
Tom
2021 年 9 月 20 日
Image Analyst
2021 年 9 月 20 日
Can you attach your data with the paperclip icon?
採用された回答
その他の回答 (1 件)
KSSV
2021 年 9 月 20 日
1 投票
Find the major, minor axes of ellipse i.e. (a,b). Once these are known, the paraetric equation of ellipse are:
Take phi = 0:pi/4:2*pi ;
You have the points you want.
カテゴリ
ヘルプ センター および File Exchange で Functions についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!





