Time steps in integration

I am confused. I think that ode45 uses a variable time step determined by the tolerance settings. But programs using ode45 tend to also specify the time steps , something like
tspan = (a,b,n);
But what is the point in doing so? Does changing n do anything to the accuracy of the output?
Anyone?

Answers (0)

Products

Tags

Asked:

on 4 Apr 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!