help-octave
[Top][All Lists]
Advanced

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

lsode use


From: Céline
Subject: lsode use
Date: Tue, 25 Aug 2015 00:42:31 -0700 (PDT)

Hello,

I'm trying to solve a problem with a simple ODE. 
dX/dt=-J
My problem is that J is calculated in a loop for each time during a certain
range of time, so I need to give J everytime to my lsode function and I
don't know how to do that...

Also, J can be calculated from 2 different equations, depending on the value
of X (there is a threshold value Xc, if X>Xc, J is calculated following one
equation and if X<Xc, it is the other equation). So I need to compare the
value of X for each time to calculate J...

Moreover, in J, there are a lot of parameters that also need to be
calculated from other parameters...

Does someone have an idea of resolution for my problem ? :/

&lt;nabble_a href=&quot;main.m&quot;>main.m 
humsolide.m <http://octave.1599824.n4.nabble.com/file/n4672270/humsolide.m>  

Thank you,

Céline




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



reply via email to

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