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

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

[Octave-bug-tracker] [bug #49408] ode{23, 45} option "Refine" has no eff


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #49408] ode{23, 45} option "Refine" has no effect
Date: Sat, 17 Dec 2016 20:33:39 -0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:49.0) Gecko/20100101 Firefox/49.0

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

Some experiments with Matlab show that 'Refine'
is ignored also in the following two cases

* only one output is requested (this case is related to bug #49417 )

* tspan has more than two entries

Matlab test for first case:

>> sol = ode45 (@(t, x) -10 * x, [0 1], 1, odeset ('Refine', 3))
sol = 
     solver: 'ode45'
    extdata: [1x1 struct]
          x: [0 0.0201 0.1023 0.1807 0.2593 0.3380 0.4166 0.4953 0.5739 0.6525
0.7312 0.8098 0.8950 1]
          y: [1 0.8180 0.3598 0.1642 0.0748 0.0341 0.0155 0.0071 0.0032 0.0015
6.6905e-04 3.0481e-04 1.3005e-04 4.5600e-05]
      stats: [1x1 struct]
      idata: [1x1 struct]


Matlab test for second case:

>> [t, x] = ode45 (@(t, x) -10 * x, [0 .5 1], 1, odeset ('Refine', 3))
t =
         0
    0.5000
    1.0000
x =
    1.0000
    0.0067
    0.0000
>> 


    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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