Plot a best fit ellipse on a polar data set

8 views (last 30 days)
I have a data set with 7 data values seperated by 15 degrees (## @ 0 degrees, ## @ 15 degrees, ## @ 30 degrees ... up to 90 degrees). I plotted them on a polar scattergram. I would like to fit an ellipse to my data but am unsure the best way to do it. I would like the ellipse to be fit all the way around the polar graph (in all 4 quadrants). Would something like this be possible even with all my data points in the first quadrant (0-90)? and how would be the best way to do this?
  1 Comment
Mathieu NOE
Mathieu NOE on 7 May 2021
hello
I am not sure that will work without further constraints or assumptions... like are we thinking about an ellipse which axes must be parallel to the figure axes ?

Sign in to comment.

Accepted Answer

Matt J
Matt J on 7 May 2021
Edited: Matt J on 7 May 2021
Yes, it's possible, although the the quality of the fit will be affected by how clustered and how noisy your data is. For the fitting, you can convert your data to cartesian coordinates and apply ellipticalFit() from this downloadable package,

More Answers (0)

Categories

Find more on Polar Plots in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!