Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2009

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

Search the Archive

Re: FindFit & NIntegrate

  • To: mathgroup at smc.vnet.net
  • Subject: [mg96206] Re: FindFit & NIntegrate
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 9 Feb 2009 05:35:18 -0500 (EST)
  • References: <gmecbc$acc$1@smc.vnet.net> <gmguqa$2u0$1@smc.vnet.net> <gmndis$s0g$1@smc.vnet.net>

Hi,

no, but the news group has rules
http://smc.vnet.net/mathgroup.html
and one of these rules is:

"PLEASE SEARCH THE ARCHIVES BEFORE YOU ASK WHAT MIGHT BE A COMMON QUESTION"

and I think a poster in the group should
try to follow the group rules.

Regards
   Jens



ADL wrote:
> Dear Jens-Peer,
> if a questions appears over and over ("10^6 times before") it should
> mean something to thinking people!
> 
> Latins used to say, "Errare humanum est, perseverare diabolicum". Does
> this mean anything to Mathematica developers? Do you mean that it is
> impossible to find a sensible way to do something that 10^6 people
> would do differently?
> 
> ADL
> 
> 
> On 6 Feb, 10:10, Jens-Peer Kuska <ku... at informatik.uni-leipzig.de>
> wrote:
>> Hi,
>>
>> and
>>
>> model[x_?NumericQ,a_?NumericQ,b_?NumericQ,c_?NumericQ]:=
>>    NIntegrate[function[x_,t_,a_,b_,c_],{t,0,inf}];
>>
>> will work. We had this 10^6 times before.
>>
>> Regards
>>    Jens
>>
>>
>>
>> hmalissa wrote:
>>> I want to use the FindFit function (or similar) to fit some
>>> experimental data:
>>> fit=FindFit[data,expr,pars,vars]
>>> Usually this works very well, but in this particular case the model
>>> expr consists of a NIntegrate over another function, like:
>>> model[x_,a_,b_,c_]:=NIntegrate[function[x_,t_,a_,b_,c_],{t,0,inf}];
>>> fit=FindFit[data,model[x,a,b,c],{a,b,c},x]
>>> FindFit now complains about non-numerical values; of course that makes
>>> sense.
>>> How can I force FindFit to do the fitting anyway?
> 
> 


  • Prev by Date: Re: symbolic matrix manipulation
  • Next by Date: Re: How to simplify?
  • Previous by thread: Re: Re: FindFit & NIntegrate
  • Next by thread: Re: FindFit & NIntegrate