[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Error with a odea nonconformant arguments
From: |
sergioh99 |
Subject: |
Error with a odea nonconformant arguments |
Date: |
Fri, 10 May 2019 09:47:33 -0500 (CDT) |
I'm trying to solve a ode with a ode45 function but when i run the code i see
the nonconformant arguments error, how can i fix this? Thanks
i=floor(t/dt)+1;
if i<n
a=(hm(i+1)-hm(i))/dt;
b=(hm(i)-a*tiempo(i));
else
a=(hm(i)-hm(i-1))/dt;
b=(hm(i-1)-a*tiempo(i-1));
end
Hm=a*t+b;
dTmdt=(((1-nm)*W)/mm/cpm)-((Hm*Am*(Tm-Tamb))/mm/cpm);
end
Error: starting_stepsize: operator /: nonconformant arguments (op1 is 1x1,
op2 is 0x0)
error: called from
starting_stepsize at line 55 column 8
ode45 at line 192 column 25
--
Sent from: http://octave.1599824.n4.nabble.com/Octave-General-f1599825.html
- Error with a odea nonconformant arguments,
sergioh99 <=