Curve Fit Using Endpoints of the Data

조회 수: 2 (최근 30일)
lynniz
lynniz 2011년 2월 3일
Hi All,
Is there a curve fit function that I can use to force the fit to go through both endpoints of the data? Currently, the fit goes through the left most point but not the right most point. The reason I want to do that is I want to get some extraoplated data from the fit as well.
Thank you,
Lynniz

채택된 답변

Andrew Newell
Andrew Newell 2011년 2월 3일
Lynniz, forcing the curve to go through both endpoints won't improve the extrapolation. Instead, if you have the Curve Fitting Toolbox I would recommend looking at fnxtr. Also, remember that it is unwise to extrapolate very far.
  댓글 수: 1
Walter Roberson
Walter Roberson 2011년 2월 4일
"Making predictions is very hard. Especially about the future."

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

추가 답변 (2개)

Brett Shoelson
Brett Shoelson 2011년 2월 4일
Note that you can also provide weights for the points you're fitting. Giving the endpoints very high weights compared to the other points might get you where you want to be.
Cheers, Brett

lynniz
lynniz 2011년 2월 17일
Thank you both!

카테고리

Help CenterFile Exchange에서 Curve Fitting Toolbox에 대해 자세히 알아보기

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by