Runge Kutta 4th order ode
Version 1.4.0.0 (1.32 KB) by
Judah S
solves ode using 4th order Runge Kutta method
This code defines an existing function and step size which you can change as per requirement.
P.S: This code has no new feature compared to existing codes available online. Intention behind posting this very simple code is to help students understand the concept and solve assignments.
Cite As
Judah S (2024). Runge Kutta 4th order ode (https://www.mathworks.com/matlabcentral/fileexchange/29851-runge-kutta-4th-order-ode), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2010a
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Boundary Value Problems > Runge Kutta Methods >
Find more on Runge Kutta Methods in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired: ODE4 gives more accurate results than ODE45, ODE23, ODE23s
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.