Curve Fit Using Endpoints of the Data
2 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
采纳的回答
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 个评论
更多回答(2 个)
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
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Curve Fitting Toolbox 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!