How can I fit data which is like that it will check directly several possible issue of fitting then in output it will give right fitted curve ?

1 vue (au cours des 30 derniers jours)
I have X and Y data and want to plot and then want to fit like that it can give result which is having nearest possible fit. As suppose first of all it will check first order polynomial then second order, and in output it have to give the which is good enough fit?

Réponses (1)

Shashank Prasanna
Shashank Prasanna le 23 Août 2013
If you are looking to do this automatically you can use Stepwise regression.
specify the 'polyijk' model spec. The function will choose the best model based on a specified criterion.
  2 commentaires
RS
RS le 23 Août 2013
2.07948 0.967031
2.08032 0.966973
2.08115 0.96657
2.08199 0.966362
2.08283 0.966502
2.08366 0.96667
2.0845 0.96647
2.08534 0.966484
2.08618 0.966465
2.08702 0.966699
2.08786 0.966858
2.0887 0.966567
2.08954 0.966397
2.09038 0.966323
I have this data? How can I fit using polyijk?
Shashank Prasanna
Shashank Prasanna le 23 Août 2013
Did you make an attempt first? There are examples in the link I gave you.

Connectez-vous pour commenter.

Catégories

En savoir plus sur Get Started with Curve Fitting Toolbox 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