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
:
Nir Krakauer
Subject
:
Re: Can't get a differential function to work
Date
:
Thu, 23 Oct 2014 16:01:19 -0400
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
]
Can't get a differential function to work
,
tessaract87
,
2014/10/23
Re: Can't get a differential function to work
,
Nir Krakauer
,
2014/10/23
Re: Can't get a differential function to work
,
tessaract87
,
2014/10/23
Re: Can't get a differential function to work
,
Nir Krakauer
<=
Re: Can't get a differential function to work
,
Theresa Fisher
,
2014/10/23
Prev by Date:
Re: Can't get a differential function to work
Next by Date:
Re: Can't get a differential function to work
Previous by thread:
Re: Can't get a differential function to work
Next by thread:
Re: Can't get a differential function to work
Index(es):
Date
Thread