How to write FDM matlab code for nonlocal source of the form u(1-integral u) in two dimension ?
2 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
How to write FDM matlab code for nonlocal source of the form
?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1008785/image.png)
0 Commenti
Risposta accettata
Torsten
il 24 Mag 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 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Calculus in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!