Re: [OctDev] A Bug in Octave-OdePkg

2008-10-09 Thread Wang Long
On Wed, 2008-10-08 at 21:33 +0200, Thomas Treichl wrote: > Wang Long schrieb: > > Hi Thomas, > > > > Thank you very much in helping me with this problem! The solution in > > your email solved the problem I mentioned before, but when I tried some > > other t_in's, for example, > > t_in_2=[0.00 0.

Re: [OctDev] A Bug in Octave-OdePkg

2008-10-08 Thread Wang Long
On Tue, 2008-10-07 at 23:01 +0200, Thomas Treichl wrote: > Wang Long schrieb: > > Hi, > > > > 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.0 0.05000 0.1 0.15000 0.19000]. While the

Re: [OctDev] A Bug in Octave-OdePkg

2008-10-08 Thread Thomas Treichl
Wang Long schrieb: > Hi Thomas, > > Thank you very much in helping me with this problem! The solution in > your email solved the problem I mentioned before, but when I tried some > other t_in's, for example, > t_in_2=[0.00 0.10 0.23 0.38 0.63 1.21 1.97]; > t_in_3=[0.00 0.03 0.05 0.11 0.17 0.25

Re: [OctDev] A Bug in Octave-OdePkg

2008-10-07 Thread Thomas Treichl
Wang Long schrieb: > Hi, > > 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.0 0.05000 0.1 0.15000 0.19000]. While the > length of t_in is 4, I found that of t_out is 5 instead of 4. Howeve

[OctDev] A Bug in Octave-OdePkg

2008-10-04 Thread Wang Long
Hi, 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.0 0.05000 0.1 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 sh