Fit converges but result doesn't make sense

Hi,

I am trying to fit a function to a set of data points.
The fit converges but the results are meaningless.
The attached macro demonstrates what is happening.

Could someone please tell me what I am doing incorrectly?
Thanks
fitFail.C (1.1 KB)

Try:

   myFunction->SetParameters(15., -5.); // set "reasonable" initial values
   grae->Fit(myFunction, ""); // do not use "M"
1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.