the length of the time span in ode45
Show older comments
Hi there,
I am using ode45 to solve a set of ODEs. Here I want to ask, if the length of the time span is relevant to the accuracy of the numerical results? I mean, is there a relationship like, a longer timespan corresponds to a rough accuracy, or a shorter timespan corresponds to a higher accuracy? Many thanks!
Accepted Answer
More Answers (1)
Torsten
on 24 Feb 2022
0 votes
If by "length of the time span" you mean" the number of output times (for the end time of integration fixed)", the answer is no - it is not relevant for the numerical accuracy of the numerical results.
Categories
Find more on Ordinary Differential Equations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!