[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.
- ode45 error: dimension mismatch in line 345 column 17, Dalton Jones, 2017/08/27
- Re: ode45 error: dimension mismatch in line 345 column 17,
Sebastian Schöps <=
- Re: ode45 error: dimension mismatch in line 345 column 17, Dalton Jones, 2017/08/29
- Re: ode45 error: dimension mismatch in line 345 column 17, Sebastian Schöps, 2017/08/29
- Re: ode45 error: dimension mismatch in line 345 column 17, daltonj283, 2017/08/29
- Message not available
- Re: ode45 error: dimension mismatch in line 345 column 17, Sebastian Schöps, 2017/08/29
- Re: ode45 error: dimension mismatch in line 345 column 17, daltonj283, 2017/08/29
- Re: ode45 error: dimension mismatch in line 345 column 17, Sebastian Schöps, 2017/08/30
- Message not available
- Re: ode45 error: dimension mismatch in line 345 column 17, Sebastian Schöps, 2017/08/31
- Re: ode45 error: dimension mismatch in line 345 column 17, Marius Schamschula, 2017/08/31