Coding a Fourth-Order Runge-Kutta Integrator in Python and Matlab @Eigensteve
Coding a Fourth-Order Runge-Kutta Integrator in Python and Matlab  @Eigensteve
Uploaded December 2022 | Updated September 2026, 1 week ago
In this video, I code up a 4th-order accurate Runge-Kutta integrator in Python and Matlab, and then I use this integrator to simulate the chaotic Lorenz 1963 system.

Playlist: youtube.com/playlist?list=PLMrJAkhIeNNTYaOnVI3QpH7jgULnAmvPA
Course Website: http://faculty.washington.edu/sbrunton/me564/

@eigensteve on Twitter
eigensteve.com
databookuw.com

This video was produced at the University of Washington

%%% CHAPTERS %%%
0:00 Problem setup and Lorenz 1963 example
6:16 Matlab code example
24:48 Python code example
Coding a Fourth-Order Runge-Kutta Integrator in Python and MatlabThe Hartman-Grobman Theorem, Structural Stability of Linearization, and Stable/Unstable ManifoldsHypothesis Testing in Statistics[2/8] Control for Societal-Scale Challenges: Road Map 2030 [Societal Drivers]Phase Portrait for Double Well PotentialResidual Networks (ResNet) [Physics Informed Machine Learning][8/8] Control for Societal-Scale Challenges: Road Map 2030 [Recommendations]Differential Equations with Forcing: Method of Variation of ParametersUsing sparse trajectory data to find Lagrangian Coherent Structures (LCS) in fluid flowsBayesian Linear Regression and Maximum a Posteriori (MAP) EstimateBootstrapping and Monte Carlo Sampling in StatisticsSupervised & Unsupervised Machine Learning
Steve Brunton |

Coding a Fourth-Order Runge-Kutta Integrator in Python and Matlab

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER