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

MathGroup Archive 2012

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

Search the Archive

Re: FindFit::nrlnum Error Message

  • To: mathgroup at smc.vnet.net
  • Subject: [mg128602] Re: FindFit::nrlnum Error Message
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Thu, 8 Nov 2012 19:00:10 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • Delivered-to: l-mathgroup@wolfram.com
  • Delivered-to: mathgroup-newout@smc.vnet.net
  • Delivered-to: mathgroup-newsend@smc.vnet.net
  • References: <20121108070746.0F6FA68B5@smc.vnet.net>

On Nov 8, 2012, at 2:07 AM, benz <sitthichaisa at gmail.com> wrote:

> I'm trying to fit the data to the curve using FindFit function and i got Error Message
>
> FindFit::nrlnum: The function value {1.49186*10^20-9.32484*10^16 I,1.59454*10^18-2.00252*10^15 I,<<8>>,<<99>>} is not a list of real numbers with dimensions {109} at {RMSX1,aX1,nX1,mX1} = {-841.739,86.6839,-24.2917,-11.7296}.
>
> I'm trying to solve it for days now and i really have no idea what to do next. Plz help!
>
> this is the link
> =
http://www.4shared.com/file/54Tpu4BB/plz_help_FitFit_Error_Message.html?


Hard to answer without seeing the model you're trying to use. But evidently some numerical "fuzz" is involved. You probably can solve it by using Chop to get rid of the small imaginary terms 9.32484*10^16 I, etc.

---
Murray Eisenberg                                    
murray at math.umass.edu
Mathematics & Statistics Dept.      
Lederle Graduate Research Tower            phone 413 549-1020 (H)
University of Massachusetts                               413 545-2838 (W)
710 North Pleasant Street                         fax   413 545-1801
Amherst, MA 01003-9305








  • Prev by Date: Re: Non Commutative Multiply
  • Next by Date: Re: Help with map /@
  • Previous by thread: FindFit::nrlnum Error Message
  • Next by thread: Re: FindFit::nrlnum Error Message