How to write FDM matlab code for nonlocal source of the form u(1-integral u) in two dimension ?
조회 수: 2 (최근 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!