How to plot fitted curve

3 views (last 30 days)
Christmas on 21 Mar 2017
Edited: Christmas on 9 Jun 2017
How do I plot the fitted curve without the points?
  1 Comment
John D'Errico
John D'Errico on 21 Mar 2017
In respect to what tool are you asking this about? Is this the curve fitting toolbox?

Sign in to comment.

Answers (1)

Santhana Raj
Santhana Raj on 22 Mar 2017
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.

Community Treasure Hunt

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

Start Hunting!