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일

0 개 추천

"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.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 2-D and 3-D Plots에 대해 자세히 알아보기

질문:

2014년 9월 9일

댓글:

2014년 9월 9일

Community Treasure Hunt

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

Start Hunting!

Translated by