Abstract
MATLAB software package offers a set of open source adaptative step functions for solving Ordinary Differential Equations (ODEs) which are easy to use by non-experts. Two of these functions are the well-known ode45 and ode15s. The ode45 is adequate when solving nonstiff problems, while the ode15s is recommended for stiff problems. Due to the wide utilization of MATLAB in science and engineering and taking into account that some issues of interest are found, we have studied the numerical methods in which these two ode solvers are based, describing the error estimation and the step size control implemented in the codes. First and second order linear ODEs are solved as two extreme examples to characterize the functions response and finally, some conclusions related to the stability of these solvers and the inefficiency of ode15s in stiff problems with pure imaginary eigenvalues are presented.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
The Math Works, Inc.: http://www.mathworks.com
Aiken, R. C.: Stiff Computation. Oxford University Press, New York (1985).
Dormand, J. R., Prince, P. J.: A family of embedded Runge-Kutta formulae. J. Comput. Appl. Math. 6, 19–26 (1980).
Gear, C. W.: Numerical initial value problems in Ordinary Differential Equations. Prentice Hall, New Jersey (1971).
Hairer, E., Wanner, G.: Solving ordinary differential equations, II, Stiff and Differential-Algebraic Problems. Springer, Berlin (1991).
Heath, M. T.: Scientific Computing. An introductory survey. Mc Graw Hill, New York (1997).
Hoffman, J. D.: Numerical methods for engineers and scientists. Marcel Dekker Inc., New York (2001).
Kostelich, E. J., Armbruster, D.: Introductory differential equations: From linearity to chaos. Addison Wesley, Massachusetts (1996).
Lambert, J. D.: Computational Methods in Ordinary Differential Equations. John Wiley, Chichester (1973).
Lambert, J. D.: Numerical methods for ordinary differential systems: the initial value problem. John Wiley & Sons, New York (1991).
Shampine, L. F.: Error estimation and control for ODEs. J. Sci. Comput. 15, 3–16 (2005).
Shampine, L. F., Corless, R. M.: Initial value problems for ODEs in problem solving environments. J. Comput. Appl. Math 125, 31–40 (2000).
Shampine, L. F., Gladwell, I., Thompson, S.: Solving ODEs with Matlab. Cambridge University Press, NewYork (2003).
Shampine, L. F., Reichelt, M. W.: The MATLAB ODE suite. SIAM J. Sci. Comput. 18, 1–22 (1997).
Spijker, M. N.: Stiffness in numerical initial-value problems. J. Comput. Appl. Math 72, 393–406 (1996).
Acknowledgements
The first author was partially funded by the Basque Government Consolidated Research Group Grant IT649-13 on “Mathematical Modeling, Simulation, and Industrial Applications (M2SI)”.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2015 Springer International Publishing Switzerland
About this paper
Cite this paper
Celaya, E.A., Aguirrezabala, J.J.A. (2015). Construction of MATLAB adaptative step ODE solvers. In: Jeribi, A., Hammami, M., Masmoudi, A. (eds) Applied Mathematics in Tunisia. Springer Proceedings in Mathematics & Statistics, vol 131. Birkhäuser, Cham. https://doi.org/10.1007/978-3-319-18041-0_23
Download citation
DOI: https://doi.org/10.1007/978-3-319-18041-0_23
Publisher Name: Birkhäuser, Cham
Print ISBN: 978-3-319-18040-3
Online ISBN: 978-3-319-18041-0
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)