General conic curve fit with constrained coefficients
9 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
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 commentaires
Matt J
le 1 Mar 2021
It would be recommendable to attach a single.mat file containing your x,y data, so we can play with it.
tarek hussein
le 21 Fév 2023
Déplacé(e) : Matt J
le 21 Fév 2023
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.
Réponse acceptée
Plus de réponses (1)
Shadaab Siddiqie
le 1 Mar 2021
From my understanding you want to create conic curve with constrained coefficients. Here is a similar question which might help you.
0 commentaires
Voir également
Catégories
En savoir plus sur Interpolation dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!