help-octave
[Top][All Lists]
Advanced

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

Re: differential equation


From: Richard Crozier
Subject: Re: differential equation
Date: Tue, 17 May 2011 03:38:34 -0700 (PDT)

Must Vs be a perfect step source, or could you approximate it with a very
steep slope? Presumably in reality it would take some finite time to go from
one value to the other?

You could then specify the derivative algebraically in your function
something along the lines of:

if        0 <= t < t1            Vs' = 0;
elseif   t1 <= t < t2           Vs' = 1000; (or perhaps make Vs some
quadratic function during this period?)
elseif   t2 <= t < tend        Vs' = 0;

Just a suggestion



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


reply via email to

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