Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

NonlinearFit works not so good

  • To: mathgroup at
  • Subject: [mg49566] NonlinearFit works not so good
  • From: Daohua Song <ds2081 at>
  • Date: Fri, 23 Jul 2004 06:00:40 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

Dear group,
      I find the NonlinearFit give an answer far away from the truth; Here 
is an example:
     Plot[100 Sin[3 x+1]+2,{x,0,5}];
NonlinearFit[data//First,A Sin[B x+C]+D,{x},{A,B,C,D}];

     If i chop the +2 from above, it works fine. but The whole thing gives 
bad fit again if you change {x,0,5}->{x,0,10}
     So NonlinearFit also is not stable!
     I hope it should be improved

  • Prev by Date: Re: NIntegrate to arbitrary precision
  • Next by Date: Integration of product of 3 MeijerG functions
  • Previous by thread: Re: Problem with Integrate and FindMinimum
  • Next by thread: Re: NonlinearFit works not so good