Plot a best fit ellipse on a polar data set

8 ビュー (過去 30 日間)
Cody Kessler
Cody Kessler 2021 年 5 月 6 日
編集済み: Matt J 2021 年 5 月 7 日
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 件のコメント
Mathieu NOE
Mathieu NOE 2021 年 5 月 7 日
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 ?

サインインしてコメントする。

採用された回答

Matt J
Matt J 2021 年 5 月 7 日
編集済み: Matt J 2021 年 5 月 7 日
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,

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangePolar Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by