I don’t understand an error message I get that’s related to function ode45.
The error message I get is:
Arrays have incompatible sizes for this operation.
Error in ode45 (line 299)
y5 = y + h .* (b41.*f1 + b42.*f2 + b43.*f3 + b44.*f4 );
I’ve checked my initial condition vector is the correct size. I’m not sure what this error indicated might be wrong in my code.The error message I get is:
Arrays have incompatible sizes for this operation.
Error in ode45 (line 299)
y5 = y + h .* (b41.*f1 + b42.*f2 + b43.*f3 + b44.*f4 );
I’ve checked my initial condition vector is the correct size. I’m not sure what this error indicated might be wrong in my code. The error message I get is:
Arrays have incompatible sizes for this operation.
Error in ode45 (line 299)
y5 = y + h .* (b41.*f1 + b42.*f2 + b43.*f3 + b44.*f4 );
I’ve checked my initial condition vector is the correct size. I’m not sure what this error indicated might be wrong in my code. ode45, matlab MATLAB Answers — New Questions