Clear Filters
Clear Filters

Info

This question is closed. Reopen it to edit or answer.

fitlm for ellipse fitting

1 view (last 30 days)
Tina
Tina on 16 Jan 2017
Closed: MATLAB Answer Bot on 20 Aug 2021
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?

Answers (0)

This question is closed.

Community Treasure Hunt

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

Start Hunting!