EconPapers    
Economics at your fingertips  
 

Vectorized Solution of ODEs in Matlab with Control of Residual and Error

L. F. Shampine ()

Chapter Chapter 11 in Recent Advances in Computational and Applied Mathematics, 2011, pp 259-271 from Springer

Abstract: Abstract Vectorization is very important to the efficiency of computation in the popular problem-solving environment Matlab. Here we develop an explicit Runge–Kutta (7,8) pair of formulas that exploits vectorization. Conventional Runge–Kutta pairs control local error at the end of a step. The new method controls the extended local error at 8 points equally spaced in the span of a step. This is a byproduct of a control of the residual at these points. A new solver based on this pair, odevr7, not only has a very much stronger control of error than the recommended Matlab solver ode45, but on standard sets of test problems, it competes well at modest tolerances and is notably more efficient at stringent tolerances.

Keywords: Matlab; Vectorization; Ordinary differential equations; Initial value problems; 65L05; 65L20 (search for similar items in EconPapers)
Date: 2011
References: Add references at CitEc
Citations:

There are no downloads for this item, see the EconPapers FAQ for hints about obtaining it.

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:spr:sprchp:978-90-481-9981-5_11

Ordering information: This item can be ordered from
http://www.springer.com/9789048199815

DOI: 10.1007/978-90-481-9981-5_11

Access Statistics for this chapter

More chapters in Springer Books from Springer
Bibliographic data for series maintained by Sonal Shukla () and Springer Nature Abstracting and Indexing ().

 
Page updated 2026-07-05
Handle: RePEc:spr:sprchp:978-90-481-9981-5_11