I am trying to draw ellipse using following code:

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

There is no Matlab inbuilt function fit_ellipse, hence, it is quite unclear what you are doing. However, a couple of days ago we discussed some properties of ellipses including drawing them at
You can look and try this.
I am having few x and y coordinates and want to draw ellipse and find the orientation angle
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)

This question is closed.

Asked:

on 27 Dec 2019

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!