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

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

[Octave-bug-tracker] [bug #50012] ode23 internal interpolation


From: Jacopo Corno
Subject: [Octave-bug-tracker] [bug #50012] ode23 internal interpolation
Date: Wed, 11 Jan 2017 10:23:57 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Follow-up Comment #3, bug #50012 (project octave):

Hi,

I do not believe this issue is related to the "Refine" bug.

The error seems indeed to be in the interpolation routine. As Carlo mentioned
the choice in Matlab is not clear. What is stated in the documentation is:

"... the solutions produced at the specified points are of the same order of
accuracy as the solutions computed at each internal step"

Tests show that ode23 is a third order scheme in Matlab (i.e. it uses local
extrapolation) so in Octave we set the order of the solver to 3 and that order
is used to choose the proper interpolation algorithm. In this case it is a
cubic hermite interpolant that exploits the values and the derivatives at t
and t+dt. There could be a bug there, I will check...

In the case of ode45, although it is a scheme of order 5 (it uses local
extrapolation too), Shampine proposes to use a 4th order interpolation scheme
that avoids further function evaluations. I am not sure what method Matlab is
choosing in the end.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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