Advanced fitting to analytical functions

2 vues (au cours des 30 derniers jours)
Peter
Peter le 9 Sep 2014
Commenté : Peter le 9 Sep 2014
Is there a more advanced version of polyfit, that also automatically fits to other non-polynomial functions (exp, log, trigonometric, non-integer powers) and combinations thereof?
e.g. if i had some (moderately) noisy data following a sqrt curve, this code would detect that and spit out an sqrt(x) type of formula

Réponse acceptée

Iain
Iain le 9 Sep 2014
"fit" will try to fit specified functions. - You'll need to play around with it.
There's a 3rd party thing called Eureqa that may be more suited to finding functions that closely represent your data, whatever it is.
  1 commentaire
Peter
Peter le 9 Sep 2014
just tried it. works quite nicely!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Historical Contests 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