Solve boundary value problem by command lines

solve PDEs in continous domain using command lines

You are now following this Submission

Codes showing how to solve a boundary value problem by command lines

1. Construct geometry by geometrical matrix
2. Define boundary conditions (BCs) by a BC matrix
3. Match coefficients between the MATLAB elliptic solver and the PDE to be solved
4. Discretize PDE and BCs in the geometrical domain
5. Solve the BC problem and do post-processing

These code need MATLAB PDE Toolbox

By Hongxue Cai (h-cai@northwestern.edu)

Cite As

Hongxue Cai (2026). Solve boundary value problem by command lines (https://in.mathworks.com/matlabcentral/fileexchange/9824-solve-boundary-value-problem-by-command-lines), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0