© Sulaymon L. Eshkabilov 2020
S. L. EshkabilovPractical MATLAB Modeling with Simulinkhttps://doi.org/10.1007/978-1-4842-5799-9_4

4. Stiff ODEs

Sulaymon L. Eshkabilov1 
(1)
Ag & Biosystems Engineering Department, North Dakota State University, Fargo, USA
 

In this chapter, we’ll explore a few different ways to solve stiff ODEs. We will cover again how to employ the Euler, Runge-Kutta, and predictor-corrector methods. We will also use the Adams-Moulton methods and MATLAB’s built-in solvers, namely, ode15s, ode23s, ode23tb, ode45, and ode113, and then we’ll compare all of them to find the most efficient one in terms of accuracy and computation time. In many MATLAB references for very stiff ODEs, the solver ode15s is recommended. We’ll see if it’s the most ...

Get Practical MATLAB Modeling with Simulink: Programming and Simulating Ordinary and Partial Differential Equations now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.