octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #49919] ode45 event problem, event active at i


From: Bill Greene
Subject: [Octave-bug-tracker] [bug #49919] ode45 event problem, event active at initial time
Date: Fri, 23 Dec 2016 18:03:42 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Follow-up Comment #4, bug #49919 (project octave):

Possibly I have mis-diagnosed the root cause of the problem.
But, yes, I think bug #49846 is either the same problem or
closely related.

A matlab doc that discusses this "first step" issue is
https://www.mathworks.com/help/matlab/math/ode-event-location.html
under the section "Limitations"

This example is from Moler's book Numerical Computing With Matlab
If you look on page 26 of this doc
https://www.mathworks.com/content/dam/mathworks/mathworks-dot-com/moler/odes.pdf
you will see what (apparently) matlab returns for this example.
As you can see from the figure, matlab terminates when the solution
gets back to y=0 the second time around.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?49919>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]