help-octave
[Top][All Lists]
Advanced

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

Re: ode45 error: dimension mismatch in line 345 column 17


From: Sebastian Schöps
Subject: Re: ode45 error: dimension mismatch in line 345 column 17
Date: Mon, 28 Aug 2017 00:57:19 -0700 (MST)

Dalton Jones wrote
> function dydt=bangodefun(y,t,T,N)
> ...
> endfunction
> ...
> [t,Y]=ode45(@(t,y)bangodefun(t,y,T,N), [0 1], Y0)

I cannot help debugging as you did not give us the Delta functions. However,
I guess your trouble is that you swapped the arguments t and y in the
definition of the anonymous function.

Seb.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/ode45-error-dimension-mismatch-in-line-345-column-17-tp4684693p4684696.html
Sent from the Octave - General mailing list archive at Nabble.com.



reply via email to

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