I am using Matlab curve-fitting tool cftool
to fit my data. The issue is that the y
values are largely varying (strongly decreasing) with respect to x-axis
. A sample is given below,
x y
0.1 237.98
1 25.836
10 3.785
30 1.740
100 0.804
300 0.431
1000 0.230
2000 0.180
The fitted format is: y=a/x^b+c/x^d
with a,b,c, and d as constants. The curve-fit from matlab
is quite accurate for large y-values
(that's at lower x-range) with less than 0.1% deviation. However, at higher x-values
, the accuracy of the fit is not good (around 11% deviation). I would like also to include % deviation
in the curve-fitting iteration to make sure the data is captured exactly. The plot is given for the fit and data reference.
Can anyone suggest me for better ways to fit the data?