3
votes

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

1
Which function are you calling to solve your problem?Rasman
the error values can be found if you open the ode45 file. I don't know if you can find a specific function to do thatRasman

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.