Skip to Main Content
Simulation of Dynamic Systems with MATLAB and Simulink, 2nd Edition
book

Simulation of Dynamic Systems with MATLAB and Simulink, 2nd Edition

by Harold Klee, Randal Allen
April 2016
Intermediate to advanced content levelIntermediate to advanced
815 pages
31h 29m
English
CRC Press
Content preview from Simulation of Dynamic Systems with MATLAB and Simulink, 2nd Edition
In reality, c in Equation 6.147 and the two occurrences of c in Equation 6.148 are different and
depend on the derivative function and the intervals; however, for suitably small T, the differences
are negligible. Eliminating e
T
from Equations 6.146 and 6.148 gives
x
A
(i þ 1jT) þ 16e
T=2
¼ x
A
i þ 1
T
2

þ e
T=2
(6:149)
Solving for e
T=2
in Equation 6.149 gives
e
T=2
¼
x
A
i þ 1
T
2

x
A
(i þ 1jT)
15
(6:150)
e
T=2
in Equation 6.150 is an estimate of the local truncation error of the RK-4 integrator when
the step size is T=2. It can be used to adjust the step size in subsequent calculations. For example,
Table 6.5 shows a possible approach to step size adjustment
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Digital Signal Processing with Examples in MATLAB, 2nd Edition

Digital Signal Processing with Examples in MATLAB, 2nd Edition

Samuel D. Stearns, Donald R. Hush

Publisher Resources

ISBN: 9781439836736