Advanced fitting to analytical functions

조회 수: 2 (최근 30일)
Peter
Peter 2014년 9월 9일
댓글: Peter 2014년 9월 9일
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

채택된 답변

Iain
Iain 2014년 9월 9일
"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
Peter
Peter 2014년 9월 9일
just tried it. works quite nicely!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Historical Contests에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by