ODE Solver through Galerkin Method

This program solves Ordinary Differential Equations by using the Galerkin method.
5.3K Downloads
Updated Mon, 17 Mar 2014 21:24:23 +0000

View License

[APPROX,EXAC,ERR] = ODEGALERKIN(POLY,BC,N) solves Ordinary Differential Equations (ODE) through Galerkin method, by inserting the characteristic polynomial matrix "POLY", boundary conditions "BC" and the finite quantity of approximative base functions "N". Outputs of the program are the approximative solution "APPROX", the analitic solution "EXAC" and the percentage error "ERR" (%). A plot of the approximative and analitic solution is also shown.

Cite As

Marcos Cesar Ruggeri (2024). ODE Solver through Galerkin Method (https://www.mathworks.com/matlabcentral/fileexchange/20387-ode-solver-through-galerkin-method), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
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
1.2.0.0

Bugs fixed for R2010a release
Minor changes

1.1.0.0

License included

1.0.0.0

Theory of Galerkin Method included.