[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #49918] No Stats available for ode15i, ode15s
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #49918] No Stats available for ode15i, ode15s |
Date: |
Wed, 4 Aug 2021 01:59:08 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101 Firefox/78.0 |
Follow-up Comment #5, bug #49918 (project octave):
Some progress
[t, x] = ode15s (@(t, x) -10 * x, [0 .5 1], 1, o);
59 successful steps
5 failed attempts
85 function evaluations
However ode15i still does not print statistics.
Trying example
function r = robertson_dae (T, Y, YP)
r = [ -(YP(1) + 0.04*Y(1) - 1e4*Y(2)*Y(3))
-(YP(2) - 0.04*Y(1) + 1e4*Y(2)*Y(3) + 3e7*Y(2)^2)
Y(1) + Y(2) + Y(3) - 1 ];
endfunction
o = odeset ('Stats', 'on');
[T,Y] = ode15i (@robertson_dae, [0, 1e3], [1; 0; 0], [-1e-4; 1e-4; 0]);
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?49918>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #49918] No Stats available for ode15i, ode15s,
anonymous <=