Curve Fit Using Endpoints of the Data

2 Ansichten (letzte 30 Tage)
lynniz
lynniz am 3 Feb. 2011
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

Akzeptierte Antwort

Andrew Newell
Andrew Newell am 3 Feb. 2011
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 Kommentar
Walter Roberson
Walter Roberson am 4 Feb. 2011
"Making predictions is very hard. Especially about the future."

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

Brett Shoelson
Brett Shoelson am 4 Feb. 2011
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 am 17 Feb. 2011
Thank you both!

Kategorien

Mehr zu Curve Fitting Toolbox finden Sie in Help Center und File Exchange

Tags

Produkte

Community Treasure Hunt

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

Start Hunting!

Translated by