How to write FDM matlab code for nonlocal source of the form u(1-integral u) in two dimension ?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
How to write FDM matlab code for nonlocal source of the form
?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1008785/image.png)
0 commentaires
Réponse acceptée
Torsten
le 24 Mai 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 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Computational Geometry dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!