matlab code to solve ELIPTIC PDE
3 次查看(过去 30 天)
显示 更早的评论
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))
0 个评论
回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Boundary Conditions 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!