help-octave
[Top][All Lists]
Advanced

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

Re: substitute for ode23s


From: harsh_uict
Subject: Re: substitute for ode23s
Date: Tue, 1 Jun 2010 08:46:50 -0700 (PDT)

I had a similar problem while trying to integrate an ode with ode2r instead
of ode15s of matlab.  With 
      tspan = [T0 T1 ... TEND]
octave gave an error
      error: invalid conversion from real matrix to real scalar
followed by a bunch of errors
      error: octave_base_value::array_value(): wrong type argument `<unknown
type>'

But when i changed  tspan to 
     tspan = [T0 TEND]
the errors disappeared.

May have some thing to do with the way ode2r is defined, though I am not
sure. Hope this works for you too.

Harsh
-- 
View this message in context: 
http://octave.1599824.n4.nabble.com/substitute-for-ode23s-tp1628127p2238755.html
Sent from the Octave - General mailing list archive at Nabble.com.


reply via email to

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