help-octave
[Top][All Lists]
Advanced

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

substitute for ode23s


From: humanengr
Subject: substitute for ode23s
Date: Tue, 22 Dec 2009 00:56:51 -0800

Matlab code I've inherited uses ode23s with either T= [T0 TFINAL] or T= [T0 T1 ... TFINAL] in

[r.T r.Y] = ode23s(@(t,y)OdeFn(t,y,d),T,y0,opts);

I see that ode2r works well as a substitute for T= [T0 TFINAL], but for T= [T0 T1 ... TFINAL] it yields

error: invalid conversion from real matrix to real scalar

and a number of errors of the form:
 
error: octave_base_value::array_value(): wrong type argument `<unknown type>'

Is there something I can do in Octave that is equivalent to ode23s for the T= [T0 T1 ... TFINAL] case?

Thanks,
Michael

reply via email to

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