General conic curve fit with constrained coefficients
4 次查看(过去 30 天)
显示 更早的评论
Hello,
I would like to fit a set of xy points to a general conic equation of the form:
ax^2 + bxy + cy^2 +dx + ey + f = 0
where I need to constrain the coefficient "c" to zero. So I would like to fit:
ax^2 + bxy +dx + ey + f = 0
to determine the values of the coefficients.
I have tried:
but I cannot determine how to contrain the coefficient. It gives me a good fit, but the coefficient "c" is non-zero. The fit is not good if I plot it with the "c" coefficient set to zero.
2 个评论
Matt J
2021-3-1
It would be recommendable to attach a single.mat file containing your x,y data, so we can play with it.
tarek hussein
2023-2-21
移动:Matt J
2023-2-21
hello dear
how can i fit an ellipse from experimenta data(x and y vectors).. i really need to find the diameter of that ellipse.
采纳的回答
更多回答(1 个)
Shadaab Siddiqie
2021-3-1
From my understanding you want to create conic curve with constrained coefficients. Here is a similar question which might help you.
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!