计算两个旋转椭圆的交点

时间:2016-08-11 19:08:07

标签: math intersection ellipse

我想计算由数学椭圆描述的两条曲线弧的交点。 省略号基于拟合点1,并用:

描述

顶点(主轴),θ(旋转角度),a(y比例因子)

如何计算日食部分的交点?实现将在Matlab和C ++中完成。

enter image description here Ellipse Fitting

基于Source 1,椭圆在matlab中计算如下:

//根据提供的xy数据计算椭圆     [vertex,theta,a] = myfit(xdata,ydata);

plot(xdata,ydata,'k.','linewidth', 3);
hold on 
drawParabola([vertex(1) vertex(2) a -theta],'Color', colorstring(i), 'linewidth', 1)

源代码可以在这里找到: Dropbox Matlab Files

1 个答案:

答案 0 :(得分:0)

写一般方程式

To get one, follow this link, follow the directions and press "Create" at the end:

https://console.developers.google.com/flows/enableapi?apiid=maps_android_backend&keyType=CLIENT_SIDE_ANDROID&r=70:52:69:E7:6F:B9:61:62:C4:8B:F2:1D:A2:28:FE:55:43:4F:FF:08%3Bcom.devdov.myapplication

对于两个椭圆并解决x和y的这个方程系统(我确信Matlab知道这种方式)。您将获得最多四个解决方案(可能有4个交叉点)

相关问题