How to force a curve through measured points

조회 수: 5 (최근 30일)
Kabit Kishore
Kabit Kishore 2022년 3월 7일
댓글: Kabit Kishore 2022년 3월 7일
Hi. I want to fit a curve which is defined by an equation to my measured data and get the values from the fitted curve. Is there a way to force the curve to fit the measured data. Any help is appreciated. Thank you.
  댓글 수: 4
KSSV
KSSV 2022년 3월 7일
Have a look on curve fitting tool.
Kabit Kishore
Kabit Kishore 2022년 3월 7일
Thank you

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

채택된 답변

Walter Roberson
Walter Roberson 2022년 3월 7일
In order to force a curve to exactly go through measured data, then in general the total degrees of freedom of the equation must be equal the number of points, minus 1, or higher. For example if you have 52 points then the equation must generally have 51 or more degrees of freedom.
Sometimes you get lucky and a point is exactly where it would be predicted to be to within a tolerance you are willing to live with.
Most often when you are fitting an equation to points you have more points than matches the degree of freedom, and you are looking for a best fit instead of a perfect fit. In nearly every such case, the locations predicted by the model will not go through every point.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Linear and Nonlinear Regression에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by