Info

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

I am trying to draw ellipse using following code:

1 view (last 30 days)
Shweta Saboo
Shweta Saboo on 27 Dec 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
I am trying to draw ellipse using following code:
ell_x_end=[86.9279,144.30717,190.12074,217.43901,221.78224,219.34441]';
ell_y_end=[385.2701,385.78540,388.83215,393.49023,394.26529,393.99121]';
ellipse_dim_end=fit_ellipse(ell_y_end,ell_x_end,1);
theta_end=rad2deg(ellipse_dim_end.phi);
But getting a warning:
'Warning: fit_ellipse: Did not locate an ellipse '
Also sometimes it is showing an error: dot indexing is not supported.
  5 Comments
Shweta Saboo
Shweta Saboo on 27 Dec 2019
I am having few x and y coordinates and want to draw ellipse and find the orientation angle
Vladimir Sovkov
Vladimir Sovkov on 27 Dec 2019
I see. You should better address the author of fit_ellipse directly and discuss. Besides helping you, this can help the author to improve that program.

Answers (0)

Community Treasure Hunt

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

Start Hunting!