bugGNU Octave - Bugs: bug #49417, ode solvers should return state at...

 
 

bug #49417: ode solvers should return state at automatically selected timesteps only when invoked with only one output

Submitted by:  Carlo de Falco <cdf>
Submitted on:  Sat 22 Oct 2016 08:46:00 PM UTC  
 
Category: Octave FunctionSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Matlab Compatibility
Status: FixedAssigned to: None
Originator Name: Open/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 24 Oct 2016 10:24:01 AM UTC, comment #2:

I did more study about the behaviour of Matlab ode solvers when only one output is requested.
It seems what we do now must be completely changed,
but this hack is OK for 4.2, I'll submit a new ticket that can be worked on in the stable branch.

Carlo de Falco <cdf>
Project Member
Mon 24 Oct 2016 04:37:51 AM UTC, comment #1:

Something of a hack, but I checked in this cset (http://hg.savannah.gnu.org/hgweb/octave/rev/56d7d423aff9).

Fixed, closing report.

Rik <rik5>
Project Administrator
Sat 22 Oct 2016 08:46:00 PM UTC, original submission:

When invoked with only one struct output, the
ode solvers in Matlab only return the state
evaluated at automatically selected timesteps.

Octave on the other hand returns the solution
at manually specified timesteps if tspan has more
than two entries.

Octave :

Matlab :

Notice that Matlab also returns additional undocumented
fields in the result structure that are needed by deval.

Carlo de Falco <cdf>
Project Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by cdf (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 24 Oct 2016 04:37:51 AM UTCrik5StatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1