Poisson Equation for Electrostatic Potential
Version 1.0.0 (1,63 MB) von
Duncan Carlsmith
Live Script that solves the Poisson equation to find the electrostatic potential surrounding charge near a conductor in two dimensions.
The electrostatic potential V associated with a static charge density ρ is governed by Poisson's equation which follows from Gauss's Law in differential form. This Live Script illustrates how to use the 2nd order central difference approximation for the Laplacian on a square grid to represent Poisson's equation as a matrix equation. The potential values are found by matrix inversion. The example illustrated here is a single line charge inside a cylindrical hole in a conductor.
This script may interest students and instructors of physics. 'Try this' suggestions and coding 'Challenges' are included for further exploration. Alternative methods of solving two-dimensional electrostatics problems are explored in Ref[1-2].
Zitieren als
Duncan Carlsmith (2025). Poisson Equation for Electrostatic Potential (https://www.mathworks.com/matlabcentral/fileexchange/178404-poisson-equation-for-electrostatic-potential), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2024b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxTags
Quellenangaben
Inspiriert: Poisson Equation PDE Model Explorer
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
PoissonEquationForElectrostaticPotential folder
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
1.0.0 |