Least Square method to solve ODE (Example 02)
Version 1.0.0 (1.47 KB) by
sagar bodkhe
Example02 in the lecture series on FEM with MATLAB
Script to plot and study the results of solving an ODE using least square approach.
The Rnorm is not differentiated to get the coefficients, rather we search for the Cj that minimizes the Rnorm.
Cite As
sagar bodkhe (2026). Least Square method to solve ODE (Example 02) (https://www.mathworks.com/matlabcentral/fileexchange/75201-least-square-method-to-solve-ode-example-02), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2020a
Compatible with any release
Platform Compatibility
Windows macOS LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0 |
