ODE Solver through Galerkin Method
Version 1.2.0.0 (3.75 KB) by
Marcos Cesar Ruggeri
This program solves Ordinary Differential Equations by using the Galerkin method.
[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 (2026). ODE Solver through Galerkin Method (https://uk.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 LinuxCategories
- Mathematics and Optimization > Symbolic Math Toolbox >
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Ordinary Differential Equations >
Find more on Symbolic Math Toolbox in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
