Updated 3 Jul 2020
It is the simple Euler's method, an iterative approach in finding the y value for a given x value starting from a 1st order ODE. It asks the user the ODE function and the initial values and increment value. It also lets the user choose what termination criterion to use, either a specified x value or a number of iterations. If the solution curve for the given ODE is readily available, the user can input it and have the true %relative error.
Robby Ching (2023). Euler's method (https://www.mathworks.com/matlabcentral/fileexchange/77672-euler-s-method), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
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.