matlab code to solve ELIPTIC PDE
Show older comments
D^2T/D^2X+D^2T/D^2x=0
T(0,y)=0;
T(L,y)=0;
T(x,0)=0;
T(x,L)=sin(pi*x/L);
N=20;
L=1;
T(i,j)=1/4(T(i+1,j)+T(i-1,j)+T(i,j+1)+T(i,j-1))
Answers (1)
M
on 20 Mar 2018
0 votes
Categories
Find more on Boundary Conditions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!