Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11133 > unrolled thread

Fitting part of a List

Started byButterfly87 <eppi2.0@freenet.de>
First post2012-07-31 02:16 +0000
Last post2012-07-31 02:16 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica


Contents

  Fitting part of a List Butterfly87 <eppi2.0@freenet.de> - 2012-07-31 02:16 +0000

#11133 — Fitting part of a List

FromButterfly87 <eppi2.0@freenet.de>
Date2012-07-31 02:16 +0000
SubjectFitting part of a List
Message-ID<jv7f68$1f3$1@smc.vnet.net>
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

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web