A question regarding the nuances of functions within MatLab

后端 未结 0 1832
梦谈多话
梦谈多话 2020-12-01 04:25

When I run this piece of code:

dx=4/(nx-1);
dy=2/(ny-1);
phinew(2:ny-1,2:nx-1)=((dy^2*(phiold(1:ny-2,2:nx-1)+phiold(3:ny,2:nx-1))+dx^2*(phiold(2:ny-1,1:nx-2)+         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题