Simulate a Faraday Cage using Constrained Quadratic Programming
This is a live script tutorial on how to set up the necessary equations for electromagnetic interaction of point charges. The tutorial can be used as a template for modelling other systems of interacting point objects.
Cite As
Adam Hug (2026). Simulate a Faraday Cage using Constrained Quadratic Programming (https://au.mathworks.com/matlabcentral/fileexchange/55462-simulate-a-faraday-cage-using-constrained-quadratic-programming), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- Mathematics and Optimization > Optimization Toolbox > Quadratic Programming and Cone Programming >
- Sciences > Physics > General Physics >
Tags
Acknowledgements
Inspired: Electrostatic Induction Explorer
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 | I changed variable names and hard coded values such that they are different from those published in the paper. The methods/ideas I implemented were touched on in the paper but all the code and implementation details are my own.
|
