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 » Software » comp.soft-sys.matlab

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

Topic: error in integrator
Replies: 3   Last Post: Oct 23, 2012 9:46 PM

Advanced Search

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

Posts: 9,850
Registered: 6/7/07
Re: error in integrator
Posted: Oct 22, 2012 6:11 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

On 10/22/2012 5:05 PM, Phil Goddard wrote:
> You need to figure why the signal being fed into the integrator is
> becoming nan or inf.
> There can be many reasons for that happening and nobody is going to be
> able to tell you specifically why your model is doing it without seeing
> the model.
> However, you most likely have a divide by zero somewhere.

Which, of course (to help OP in the looking for the cause of which 'cuz
I know you know this) doesn't have to be and likely isn't an actual zero
in a denominator but a term that vanishes over time as, perhaps, some
other term grows. Exponentials and their ilk are prime candidates as
would/could be a trig function going through a null point, etc., etc.,
etc., ...


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.