The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Inactive » comp.soft-sys.math.mathematica

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: FindFit::nrlnum Error Message
Replies: 2   Last Post: Nov 10, 2012 3:30 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Murray Eisenberg

Posts: 2,105
Registered: 12/6/04
Re: FindFit::nrlnum Error Message
Posted: Nov 8, 2012 7:00 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On Nov 8, 2012, at 2:07 AM, benz <> 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
> =

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
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

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.