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 CenterFile Exchange에서 Polar Plots에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by