Info

此问题已关闭。 请重新打开它进行编辑或回答。

fitlm for ellipse fitting

1 次查看(过去 30 天)
Tina
Tina 2017-1-16
关闭: MATLAB Answer Bot 2021-8-20
I have a matrix with x and y coordinates that resemble an ellipse. I would like to fit an ellipse through these coordinates using fitlm because of its robustness. I intend to use X = [x.^2, x.*y, y.^2, x, y] as the predictor variables but I don't know how to define the response variables. Can anyone help me with this? Is actually even possible to use both x and y as predictor variables in the form that I mentioned?

回答(0 个)

此问题已关闭。

Community Treasure Hunt

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

Start Hunting!

Translated by