How to plot fitted curve

1 vue (au cours des 30 derniers jours)
Christmas
Christmas le 21 Mar 2017
Modifié(e) : Christmas le 9 Juin 2017
How do I plot the fitted curve without the points?
  1 commentaire
John D'Errico
John D'Errico le 21 Mar 2017
In respect to what tool are you asking this about? Is this the curve fitting toolbox?

Connectez-vous pour commenter.

Réponses (1)

Santhana Raj
Santhana Raj le 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

Catégories

En savoir plus sur Linear and Nonlinear Regression dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by