help-octave
[Top][All Lists]
Advanced

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

Re: Can't get a differential function to work


From: Theresa Fisher
Subject: Re: Can't get a differential function to work
Date: Thu, 23 Oct 2014 13:04:02 -0700

Hey, that did do the trick!

On Thu, Oct 23, 2014 at 1:01 PM, Nir Krakauer <address@hidden> wrote:
function ydot = f(y,t); a=0.004; b=0.00002; ydot=[-y(1).*y(2)*b; y(1).*y(2)*b-y(2)*a]; endfunction; y=lsode(@f,[10,990],0:1:10);

works great for me.


reply via email to

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