help-octave
[Top][All Lists]
Advanced

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

ODE 45


From: dklotzkin
Subject: ODE 45
Date: Mon, 12 Sep 2011 12:44:13 -0700 (PDT)

Greetings all,

A bit of help on the ODE45 function in Octave would be appreciated.

This same bit of code works fine in Matlab, but not in Octave.

"
...
cycletime=2*10^-10;  % 100ps in 10 Gb/s


for i=1:30
y0(1,3)=I1;
%vopt =
odeset("AbsTol",1e-3,"RelTol",1e-6,"MaxStep",2e-13,"InitialStep",2e-20) 
%(<- played with this in Octave, but no values worked;  omitted in matlab)

[t y]= ode45(@nonlinearrateequations,[0 cycletime/2], y0);

"
One difference between this and the examples is that the timescale here is
from 0 to 100X10^-10 s.

Any suggestions?

thank you for your help.


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


reply via email to

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