필터 지우기
필터 지우기

Fitting Curve To Polarplot Data

조회 수: 6 (최근 30일)
israel cohen
israel cohen 2023년 12월 17일
댓글: William Rose 2023년 12월 18일
Hi all
I want to create fitting curve to my data i ploted in a polar plot. I tried to create fitting curve in matlab-cftool but it did not worked. someone can help how can i create fitting curve in apolar plot data?
Thank you

답변 (1개)

William Rose
William Rose 2023년 12월 17일
Matlab's lsqcurvefit is very good. The help for it has many good examples.
As the name suggests, the error function for lsqcurvefit is the sum of squared differences between measured and predicted. For a polar plot, you might consider the theta values to be known, and the r values to be measured and predicted, or vice versa. In eithr case, the use of lsqcurvefit() is straightforward.
If r and theta are both functions of a third variable, such as frequency, then you probably want to define the error function to be the distance on the Cartesian plane between the measured and predictred points. This is the standard approach when fitting frequency response functions.
Provide example data and a candidate function for fitting, if you want more detailed suggestions.
Good luck!
  댓글 수: 5
israel cohen
israel cohen 2023년 12월 18일
ok, cool
Thank you for your help!
William Rose
William Rose 2023년 12월 18일
YOu're welcome, @israel cohen

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Interpolation에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by