I am trying to use the solver four coupled partial differential equations, using the method of lines. However, i need to include the solver in a for loop, but every attemp i've made so far has proved abortive.
How do i gi about this? Need something like:
For i=1:n u1( t(i), y1(i) ) = ode15(..........); u2( t(i), y2(i) ) = ode15(...........); end