Plot ellipse on scattered 2D data

plot_ellipse simply plots an ellipse arround scattered points with 95% confidence interval.
465 Downloads
Aktualisiert 25. Aug 2022

Lizenz anzeigen

plot_ellipse simply plots an ellipse arround scattered points with 95% confidence interval.The code based on Ohad Gal fit_ellipse (2003)
Format: handle_ellipse = plot_ellipse( x,y )
Input: x,y - a set of points in 2 column vectors. AT LEAST 5 points are needed !
Output: handle_plot - handle of the plot object of ellipse
Note: demo.m demonstrates the use of the function.
Kompatibilität der MATLAB-Version
Erstellt mit R2022a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.2.4

I have changed normrnd to randn. I have double checked with license('inuse'). Hopefully it work for anybody.

1.2.3

It does not use mean2 but only mean.

1.2.2

I do not need any citation.

1.2.1

I have just updatet the demo image.

1.2.0

No need for extra toolbox.

1.0.1

I little fix in demo.

1.0.0