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 ...
4. Stiff ODEs
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.