finite difference methods implementation for 1D PDE
Version 1.0.1 (4.6 KB) by
Shenghai Liao
This project implements a solver for 1d elliptic partial difference equations, using Quadratic Element Difference Schemes.
This project implements a solver for 1d elliptic partial difference equations, using Quadratic Element Difference Schemes.
The pde considered here has the following form:
-(pu')'+qu=f, [a,b]
u(a)=c1, u'(b)=c2.
where p, q, f are given functions, c1 and c2 is some constants.
User can define their own functions p, q, f in corresponding files. Then the solver can estimate the function u.
Cite As
Shenghai Liao (2026). finite difference methods implementation for 1D PDE (https://www.mathworks.com/matlabcentral/fileexchange/73462-finite-difference-methods-implementation-for-1d-pde), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2019b
Compatible with R2015a and later releases
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Partial Differential Equation Toolbox > General PDEs > Boundary Conditions >
Find more on Boundary Conditions in Help Center and MATLAB Answers
Tags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
