A Bug in Octave-OdePkg
mr.wang.long at gmail.com
Mon Sep 29 13:27:24 BST 2008
When I was running this in octave:
t_in = [0 0.05 0.13 0.19];
[t_out, y] = ode45 (@(t,x) x, t_in, 1);
I got t_out=[0.00000 0.05000 0.10000 0.15000 0.19000]. While the
length of t_in is 4, I found that of t_out is 5 instead of 4. However
the length of t_in and t_out should be identical. This bug also exists
in ode23, ode54, ode78, etc.
I'm using octave on Ubuntu, and the file "ode45.m" belongs to the
package "octave-odepkg" version 0.6.0-1.
Any ideas? Thank you all.
More information about the Ubuntu-motu