Here is the code I'm having trouble with. It's a really simple code so I'm sure anyone can help. Basically I'm just taking the integral of four ODE functions but as you can see I am faced with some errors. I am new to matlab (and not a programmer at all) and I'm not sure what the error means or where it's coming from so please try to explain in the simplest manner how to fix it as well as what is happening.
MATLAB: ‘ODE 23: Error using vertcat Dimensions of matrices being concatenated are not consistent.’
ode23ode45
Best Answer