15.11.2014 Views

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

MATLAB Mathematics - SERC - Index of

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

5 Differential Equations<br />

Initial Value Problems for ODEs and DAEs<br />

This section describes how to use <strong>MATLAB</strong> to solve initial value problems<br />

(IVPs) <strong>of</strong> ordinary differential equations (ODEs) and differential-algebraic<br />

equations (DAEs). This section covers the following topics:<br />

• “ODE Function Summary” on page 5-2<br />

• “Introduction to Initial Value ODE Problems” on page 5-4<br />

• “Solvers for Explicit and Linearly Implicit ODEs” on page 5-5<br />

• “Examples: Solving Explicit ODE Problems” on page 5-9<br />

• “Solver for Fully Implicit ODEs” on page 5-15<br />

• “Example: Solving a Fully Implicit ODE Problem” on page 5-16<br />

• “Changing ODE Integration Properties” on page 5-17<br />

• “Examples: Applying the ODE Initial Value Problem Solvers” on page 5-18<br />

• “Questions and Answers, and Troubleshooting” on page 5-43<br />

ODE Function Summary<br />

ODE Initial Value Problem Solvers<br />

The following table lists the initial value problem solvers, the kind <strong>of</strong> problem<br />

you can solve with each solver, and the method each solver uses.<br />

Solver Solves These Kinds <strong>of</strong> Problems Method<br />

ode45 Nonstiff differential equations Runge-Kutta<br />

ode23 Nonstiff differential equations Runge-Kutta<br />

ode113 Nonstiff differential equations Adams<br />

ode15s Stiff differential equations and DAEs NDFs (BDFs)<br />

ode23s Stiff differential equations Rosenbrock<br />

ode23t<br />

Moderately stiff differential equations and<br />

DAEs<br />

Trapezoidal<br />

rule<br />

5-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!