Ellipse around the data in MATLAB
问题 I would like to reproduce the following figure in MATLAB: There are two classes of points with X and Y coordinates. I'd like to surround each class with an ellipse with one parameter of standard deviation, which determine how far the ellipse will go along the axis. The figure was created with another software and I don't exactly understand how it calculates the ellipse. Here is the data I'm using for this figure. The 1st column is class, 2nd - X, 3rd - Y. I can use gscatter to draw the points