Plot ellipse on scattered 2D data

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

View License

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.
MATLAB Release Compatibility
Created with R2022a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
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