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

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

Posts: 8,231
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]

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