wookie1
wookie1

Reputation: 511

Convergence using Matlab ODE solvers

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

Upvotes: 3

Views: 1326

Answers (1)

Apiwat Chantawibul
Apiwat Chantawibul

Reputation: 1463

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.

Upvotes: 0

Related Questions