You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
% ====== Providing boundary conditions matrix bcm =========
% ======= (system case, e.g. for 2D plane-strain problem, 2 PDEs for 2 dependent variables) =====
%
% A crutial step for solving boundary value problems (BVP) is to define the boundary conditions (BCs).
% In a recent submission,
% "Solve boundary value probelm by command lines," an simple example is
% given for the scalar case (1 PDE for 1 dependent variable)
% subject to Neumann BC only (sub-function "bcNeumann" in that submission).
% I now try to show how to construct the BC
% matrix for system case (Dimession N, i.e. N PDEs for N dependent variables).
% Dirichlet, Neumann, and mixed BCs are considered.
% A more complex example showing how to use this function will be provided
% soon
%
% ===== By Hongxue Cai (h-cai@northwestern.edu) =======
Cite As
Hongxue Cai (2026). bcMatrix, boundary condition Matrix (https://www.mathworks.com/matlabcentral/fileexchange/9997-bcmatrix-boundary-condition-matrix), MATLAB Central File Exchange. Retrieved .
General Information
- Version 1.0.0.0 (2.61 KB)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
