Euler's method

Version 1.0.0 (2.24 KB) by Robby Ching
A numerical method in solving an Initial value problem of a 1st order Ordinary Differential equation
Updated 3 Jul 2020

View License

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.

Cite As

Robby Ching (2024). Euler's method (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes