How to write FDM matlab code for nonlocal source of the form u(1-integral u) in two dimension ?
3 views (last 30 days)
Show older comments
How to write FDM matlab code for nonlocal source of the form ?
0 Comments
Accepted Answer
Torsten
on 24 May 2022
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 Comments
More Answers (0)
See Also
Categories
Find more on Computational Geometry 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!