Hi I'm solving an initial value ODE problem and would like to be able to plot the convergence. I've checked in the documentation and found that at each timestep the error is calculated but I can find no way to return this value. Does anyone have any ideas, perhaps by playing around with output functions (from odeset). Thanks
3
votes
1 Answers
0
votes
I was looking here to find the answer myself. This closest I found is to vary the initial step size & max step size of ode45 using odeset function Ideally, we want to set min step size to test convergence but that isn't provided here.