ODE Solver through 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.
Citar como
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. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
- Mathematics and Optimization > Symbolic Math Toolbox >
- MATLAB > Mathematics > Numerical Integration and Differential Equations > Ordinary Differential Equations >
Etiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.