MathGroup Archive 1995

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

Search the Archive

Using NDSolve in NonlinearFit

  • To: mathgroup at christensen.cybernetics.net (mathgroup)
  • Subject: [mg1126] Using NDSolve in NonlinearFit
  • From: onm010 at aixrs1.hrz.uni-essen.de (Dr. Stefan P. Mueller)
  • Date: Mon, 15 May 1995 03:01:53 -0400

I need to fit a nonlinear model, which is described by a set of
differential equations, to experimental data and I am having trouble to
use NDSolve within NonlinearFit. A most trivial example would be something
like this:

NonlinearFit[data,y[t] /.Flatten[  
   NDSolve[{y'[t]==-cc*y[t],y[0]==1},y[t],{t,0,10}]],  
      t,{cc,0,1}, ShowProgress->True]

I have been tinkering with Hold and Unevaluated but it seems that I can't
get NDSolve to evaluate during the evaluations within NonlinearFit. I
suspect this to be quite a prevalent type of problem. Does anybody have a
suggestion?

Thank you very much!

Stefan

____________________________________________________________________________
Dr. Stefan P. Mueller, Nuklearmedizin, Universitaetsklinikum, D-45122 Essen,
FR Germany, e-mail: onm010 at aixrs1.hrz.uni-essen.de, FAX: <49> (201) 723-5964


  • Prev by Date: Dynamic Programming, Any packages or Tips?
  • Next by Date: Looking for help for research work
  • Previous by thread: Dynamic Programming, Any packages or Tips?
  • Next by thread: Looking for help for research work