MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Help with an error with NonlinearModelFit, Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg99581] Re: [mg99525] Help with an error with NonlinearModelFit, Mathematica
  • From: DrMajorBob <btreat1 at austin.rr.com>
  • Date: Fri, 8 May 2009 00:17:48 -0400 (EDT)
  • References: <200905071035.GAA19381@smc.vnet.net>
  • Reply-to: drmajorbob at bigfoot.com

At minimum,

NonlinearModelFit[data, Log[ak^2 + bk + c], {a,b,c}, k]

should be

NonlinearModelFit[data, Log[a k^2 + b k + c], {a,b,c}, k]

Bobby

On Thu, 07 May 2009 05:35:29 -0500, Anonymous <mgao4793 at gmail.com> wrote:

> I'm trying to find a fit to a large set of data.
>
> Here are In[1], In[2].
>
> In[1] := {{421.1, 6591.10}, ...};
>
> (there are way more points, in fact there are 35 in total, but I don't
> want to list them.  All are real numbers.)
>
> In[2] := nlm = NonlinearModelFit[data, Log[ak^2 + bk + c], {a,b,c}, k]
>
> Then mathematica gives an error that basically says that the function
> "is not a list of real numbers"
>
> Of course it is, so how do I fix this?
>



-- 
DrMajorBob at bigfoot.com


  • Prev by Date: Re: TraditionForm Appears to be Inconsistent
  • Next by Date: Re: Help with an error with NonlinearModelFit, Mathematica 7.0
  • Previous by thread: Help with an error with NonlinearModelFit, Mathematica 7.0
  • Next by thread: Re: Help with an error with NonlinearModelFit, Mathematica 7.0