Finding a Function for Data from Curve Fitting with a Chi^2 Boundary

조회 수: 1 (최근 30일)
Kylie Hansen
Kylie Hansen 2017년 8월 23일
편집: Kylie Hansen 2017년 8월 23일
I have MATLAB's Curve Fitting Toolbox. I've used it to find coefficients for a function given data. I've used it to find fits for polynomials. I would now like to know if there is a way for MATLAB to find a function given data. I have some data that cannot be easily represented with a basic polynomial or other such function. I've read through several previous questions, and they make the extremely valid point that there is an infinite amount of functions that would fit some data. So, I'm wondering if there is a way for MATLAB to give me the functions that have the best chi^2 goodness of fit with the data (as in the line from the curve fit fits the data very well). Perhaps the best 3 or 5 or 10 functions; the number does not matter. Would the chi^2 be a sufficient boundary? If so, how would I accomplish such a feat?
Also, if this is easier to do using a different language or program (such as Python or Wolfram Alpha), I would appreciate it if you could direct me to where I could learn more.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by