How to plot fitted curve
2 views (last 30 days)
Show older comments
How do I plot the fitted curve without the points?
1 Comment
John D'Errico
on 21 Mar 2017
In respect to what tool are you asking this about? Is this the curve fitting toolbox?
Answers (1)
Santhana Raj
on 22 Mar 2017
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
0 Comments
See Also
Categories
Find more on Linear and Nonlinear Regression in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!