I need to solve very precisely an ODE once so I don’t have to solve it $N^2$ times
I have an ODE like with initial condition . Now, I need to solve this ODE times ($N^2$ being the size of a square matrix) where, in each point of the matrix, I have a different initial condition and a different final time I need to calculate. However, the function is monotone, and if I consider as initial condition the lowest value it can take, if I solve once the ODE very precisely I should be able to get all the desired values at once, without having to solve $N^2 $ times the same ODE. My question is: since the times I’ll need to evaluate the solution on are in general real, as well as the different initial conditions, is there a way to do it?I have an ODE like with initial condition . Now, I need to solve this ODE times ($N^2$ being the size of a square matrix) where, in each point of the matrix, I have a different initial condition and a different final time I need to calculate. However, the function is monotone, and if I consider as initial condition the lowest value it can take, if I solve once the ODE very precisely I should be able to get all the desired values at once, without having to solve $N^2 $ times the same ODE. My question is: since the times I’ll need to evaluate the solution on are in general real, as well as the different initial conditions, is there a way to do it? I have an ODE like with initial condition . Now, I need to solve this ODE times ($N^2$ being the size of a square matrix) where, in each point of the matrix, I have a different initial condition and a different final time I need to calculate. However, the function is monotone, and if I consider as initial condition the lowest value it can take, if I solve once the ODE very precisely I should be able to get all the desired values at once, without having to solve $N^2 $ times the same ODE. My question is: since the times I’ll need to evaluate the solution on are in general real, as well as the different initial conditions, is there a way to do it? ode MATLAB Answers — New Questions