How to plot fitted curve
显示 更早的评论
How do I plot the fitted curve without the points?
1 个评论
John D'Errico
2017-3-21
In respect to what tool are you asking this about? Is this the curve fitting toolbox?
回答(1 个)
Santhana Raj
2017-3-22
0 个投票
Hi,
When using 'fit' command, extract its outputs. Based on the fit you have asked for, like linear, polynomial etc., the coefficients of the fit curve is available in the outputs.
You can use the coefficients and the known fit equation, and the specific dependent variable (x), you can get the fitted curve. By changing the dependent variable you can even intrapolate or extrapolate the fit.
Hope it helps.
Raj
类别
在 帮助中心 和 File Exchange 中查找有关 Interpolation 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!