Matlab: Is it possible to numerically solve a system of ode's with a mixture of initial and terminal conditions?
问题 I'm trying to use ode45 to solve a system of ODE's: [X,Y]= ode45(@sys,[0, T],y0); where, function dy = sys(t,y) dy(1) = f_1(y) dy(2) = f_2(y) dy(3) = f_3(y) end The problem is that the function ode45 requires that y0 be initial values [y_1(0), y_2(0), y_3(0)] , while in my system, I only have the values [y_2(0), y_3(0), y_3(T)] available. Mathematically, this set of initial/terminal conditions should be enough to pin down the system, but is there any way I can work with that by ode45 or any