Plot a best fit ellipse on a polar data set
8 ビュー (過去 30 日間)
古いコメントを表示
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
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
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 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Polar Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!