How to write FDM matlab code for nonlocal source of the form u(1-integral u) in two dimension ?

3 views (last 30 days)
How to write FDM matlab code for nonlocal source of the form ?

Accepted Answer

Torsten
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

Sign in to comment.

More Answers (0)

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!