필터 지우기
필터 지우기

Fit Data to a Polar Equation

조회 수: 8 (최근 30일)
John Shackleton
John Shackleton 2019년 5월 12일
댓글: ADITYA SENGUPTA 2021년 1월 24일
This is a little abstract, but I have data that is represented of some form of polar equation, and I would like to fit a polar equation to this data as accurately as possible. I don't want to fit it to a circle nor do I want to fit it to an ellipse. I want to fit it to a general polar function. Basically, what I am thinking of, is an analog of a polyfit of a high number to very accurately fit a cartesian function in polar coordinates. Just wondering if something like this exists in matlab.

답변 (1개)

Star Strider
Star Strider 2019년 5월 12일
I have no idea what ‘general polar funciton’ you are referring to. If you have a particular function, you can likely fit your data to it. The parameter estimation functions will work regardless.
There are several linear and nonlinear parameter estimation routines you can use. The details depend on the function you want to fit. You can use the cart2pol or pol2cart functions to transform your data between Cartesian and polar coordinate systems as well, then fit them.
  댓글 수: 4
Star Strider
Star Strider 2019년 5월 12일
I can’t agree with your self-assessment. It’s necessary to frame the problem correctly and then look at the available parameter estimation functions. That’s not always straightforward.
My pleasure!
ADITYA SENGUPTA
ADITYA SENGUPTA 2021년 1월 24일
Good day guys.
Its nice to see the discussions happening on similar grounds. I too have a doubt to get clarified on how to fit a logarithmic polar curve as a best fit for the polar co-ordinates I have. Basically, I am seeking for Polar Regression through Logarithmic Function. Can someone help me out in using MATLAB or any other suitable and user friendly software for this?

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

카테고리

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