Mathematica 9 is now available
Student Support Forum
Student Support Forum: 'FindFit nrlnum error' topicStudent Support Forum > General > Archives > "FindFit nrlnum error"

Next Comment >Help | Reply To Topic
Author Comment/Response
Mark Perrin
02/01/08 5:22pm

I am trying to fit some fairly basic data to a fairly basic equation- her are the data points:

fitdata={{100, 0.970304}, {500, 0.916469}, {1000, 0.855484}, {2000, 0.669234}}

and the equation:

hill = 1/(1 + (dose/conc)^h)

So to fit this data:

FindFit [fitdata, hill, {{dose}, {conc}} , h]

But I keep getting this error:

FindFit::nrlnum: The function value {0.249342+0.302416 \
\[ImaginaryI],-0.498226+<<18>> \[ImaginaryI],<<1>>,-0.905716+0.348 \
\[ImaginaryI]} is not a list of real numbers with dimensions {4} at \
{dose,h} = {-475.827,-0.777316}. >>

Does anyone know what I am doing wrong?

URL: ,

Subject (listing for 'FindFit nrlnum error')
Author Date Posted
FindFit nrlnum error Mark Perrin 02/01/08 5:22pm
Re: FindFit nrlnum error Forum Modera... 02/02/08 08:02am
Re: FindFit nrlnum error Mark Perrin 02/02/08 4:42pm
Next Comment >Help | Reply To Topic