How to write FDM matlab code for nonlocal source of the form u(1-integral u) in two dimension ?
3 次查看(过去 30 天)
显示 更早的评论
How to write FDM matlab code for nonlocal source of the form
?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1008785/image.png)
0 个评论
采纳的回答
Torsten
2022-5-24
Hint:
A possible approximation for the integral over a rectangle [x(i),x(i)+dx] x [y(j),y(j)+dy] is
dx*dy*(u(i,j)+u(i,j+1)+u(i+1,j)+u(i+1,j+1))/4
5 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Calculus 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!