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
182 Downloads
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 (2026). Euler's method (https://www.mathworks.com/matlabcentral/fileexchange/77672-euler-s-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Version Published Release Notes
1.0.0