Hi,
I have some data (points of results -> a list of x - data and a list of corresponding y - data) and I would like to fit a curve to this data. curves does not fit very well to the data points.
Can anybody give me a method to fit a curve to the data?
Tanks!
The data are:
xdata:=


ydata:=
Fit a curve to data
Take a look at the following worksheet. The last command will bring up the help file for the CurveFit package, which has more options. The worksheet was created in version 9.52. I tried it in Version 12 as well. I think the CurveFit package does not exist in version 9.52. If you have version 12 you can give it a try. This is just to highlight a few examples that you can modify for your own needs. It is by no means complete, or the best way to approach this type of problem. I just wanted to illustrate that it can be done.
Download 221_curves.mws
View file details
In the future, if you have a large data file, load it into a worksheet and post the worksheet. Your data was in the form of an image which makes it difficult to cut and paste it.
Regards,
Georgios Kokovidis
Dräger Medical
curve fitting
Are you just trying to draw a nice graph, or are you attempting to fit a particular parameterized curve to the data? If so, what equation do you expect?
<p>I expected (or were
<p>I expected (or were looking for the parameters of) a curve in the following form:</p>
<p><maple>(y-a)/(y+1)=b*(1-((x-c)/(x+1))^d)</maple></p>
<p>where a,b,c,d are the parameters.</p>
I expected (or were looking
I expected (or were looking for the parameters of) a curve in the following form:
(y-a)/(y+1)=b*(1-((x-c)/(x+1))^d)
where a,b,c,d are the parameters.