Dear All,
I have a set of data(63 pairs) of the form {x-Value, Intensity} imported to Mathematica. I also managed to extract the data pairs 5 to 25 using the Take-function. I want to fit these data using the Fitfunction TS[q] and FindFit. I told Mathematica to follow this Input:
FindFit[d2[q], TS[q], {{a, 1000}, {b, 1500}, {c, 0.008}}, q]
d2[q] is the list of data extracted from the original data[23 value pairs]
TS[q] is the fitfunction
a,b,c are constants close to the mentioned values
q is the variable
Using this I got the error:
FindFit::fitd: First argument in FindFit is not a list or a rectangular array.
However, if I use the orginal data set, the fit works!!!
Why doesn't Mathematica fit the part of the list?
Thank you in advance!!!
Cheers, Butterfly