How to plot fitted curve

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

0 votes

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

Question posée :

le 21 Mar 2017

Modifié(e) :

le 9 Juin 2017

Community Treasure Hunt

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

Start Hunting!

Translated by