- #1
Daniel1992
- 22
- 0
I get this error message
Subscript indices must either be real positive integers or logicals.
Error in doubleODE (line 14)
dYdt(2) = l1*(m1 + m2)*Y(4) - l2*m2*Y(3)*cos(Y(1) - Y(2))/...
I am having trouble working out what is causing the problem. Any advice?
Thanks
Subscript indices must either be real positive integers or logicals.
Error in doubleODE (line 14)
dYdt(2) = l1*(m1 + m2)*Y(4) - l2*m2*Y(3)*cos(Y(1) - Y(2))/...
I am having trouble working out what is causing the problem. Any advice?
Thanks