help-octave
[Top][All Lists]
Advanced

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

Re: Odepkg


From: Dmitri A. Sergatskov
Subject: Re: Odepkg
Date: Sun, 30 Jul 2017 21:09:54 -0500



On Sun, Jul 30, 2017 at 9:01 PM, Thomas D. Dean <address@hidden> wrote:
On 07/30/2017 05:21 PM, Tatsuro MATSUOKA wrote:

On 4.3.0+, ( local build,  two weeks ago)

octave:321> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];
octave:322> vopt = odeset ("RelTol", 1e-3, "AbsTol", 1e-3, "NormControl", "on", "OutputFcn", @odeplot);

octave:323> ode45 (fvdb, [0 20], [2 0], vopt);
warning: Option "InitialStep" not set, new value 2.000000 is used
warning: called from
    ode45 at line 182 column 5
warning: Option "MaxStep" not set, new value 2.000000 is used
warning: called from
    ode45 at line 190 column 5
octave:324>          line 104: warning: Cannot toggle log scale for volatile data

But, I get a plot...

hg id
ccc4e85762ac tip @
hg head
changeset:   23813:ccc4e85762ac
bookmark:    @
tag:         tip
user:        Rik <address@hidden>
date:        Sun Jul 30 14:08:02 2017 -0700
summary:     Overhaul vectorize() to use C++11 string functions.

octave:1> fvdb = @(vt,vy) [vy(2); (1 - vy(1)^2) * vy(2) - vy(1)];
octave:2> vopt = odeset ("RelTol", 1e-3, "AbsTol", 1e-3, "NormControl", "on", "OutputFcn", @odeplot);
octave:3> ode45 (fvdb, [0 20], [2 0], vopt);
octave:4>

​(no warnings, nice plot...)​


 

Tom Dean


​Dmitri.


reply via email to

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