Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

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


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

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,099
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 <sitthichaisa@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@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









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

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.