help-octave
[Top][All Lists]
Advanced

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

lsode gives wrong results!


From: shm
Subject: lsode gives wrong results!
Date: Mon, 21 Apr 2014 13:51:25 -0700 (PDT)

Hello,

I trying to solve a simple equation:
xdot= (-0.40770 *(x))+ 57.947;

when i call this xdot function in lsode:
y = lsode (@ ex, x0, t); ## ex is the file name in which function is written
then plot(t,y)

I expect the result in which graph will start from 57.947 then gradually
decays. but instead it starts from 0 and continues to grow until carrying
capacity.

Can any body tell me about my mistake?



--
View this message in context: 
http://octave.1599824.n4.nabble.com/lsode-gives-wrong-results-tp4663672.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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