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: Nonlinear curve fit as a Button function fails quietly
Replies: 2   Last Post: Oct 18, 2012 2:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Daniel Warren

Posts: 144
Registered: 5/16/07
Re: Nonlinear curve fit as a Button function fails quietly
Posted: Oct 18, 2012 2:43 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

I appreciate the replies I have received so far. One thing I failed to emphasize is the intermittency of this problem. It appears to be related to the Messaging system in a subtle way. If FindFit doesn't have a problem (as it apparently did not on some of your computers) it does not try to throw a message and the fit parameters get returned correctly. The particular example I pasted does not converge in 500 iterations (on my computer) and FindFit tries to throw the Message. I think it may be a failure of Message, not the function itself, that is the source of the problem.

This morning, I have a fresh session and I deleted the cache. When FindFit throws the message, a pink Message notebook opens with the message, as expected behavior. I think somehow I buggered the windowing system, so Mathematica gets confused as to where to put the Message. Maybe it is out there somewhere, I just do not see it.

This is very hard for me to diagnose. For now, I have reduced the Accuracy and Precision goals and keep my fingers crossed. However, since I am developing this as a tool for other engineers, I have to find a resolution for this.


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.