[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Translating ODE from Matlab to Octave
From: |
c. |
Subject: |
Re: Translating ODE from Matlab to Octave |
Date: |
Tue, 26 Nov 2013 17:05:49 +0100 |
On 26 Nov 2013, at 16:54, Bård Skaflestad <address@hidden> wrote:
> Alternatively, you *could* use
>
> [y, t] = lsode(@(y, t) f(t, y), y0, t)
>
> if you don't want to change the definition of 'f'.
no, you can't call 'lsode' like that.
'lsode' does not return the time vector 't', the calling sequence is different
from ode15s.
the set of times at which you want your solution evaluate should be passed as
an input parameter.
c.
- Translating ODE from Matlab to Octave, RICHARD Dominique, 2013/11/26
- Re: Translating ODE from Matlab to Octave, c., 2013/11/26
- Re: Translating ODE from Matlab to Octave, Bård Skaflestad, 2013/11/26
- Re: Translating ODE from Matlab to Octave,
c. <=
- Re: Translating ODE from Matlab to Octave, Bård Skaflestad, 2013/11/26
- Re: Translating ODE from Matlab to Octave, c., 2013/11/26
- Re: Translating ODE from Matlab to Octave, Torsten, 2013/11/26
- Re: Translating ODE from Matlab to Octave, c., 2013/11/26
- Re: Translating ODE from Matlab to Octave, Torsten, 2013/11/26