Calculating Electric field of a dipole using Coulomb's law

This code computes the Electric Field distribution due to a dipole in a 2-D plane.
2.7K Downloads
Updated 19 Jun 2013

View License

Using Coulomb's law, electric field is computed at every grid in a 2-D plane.
There are 100 grids in both x and y direction, each grid measuring 1 meter in length. The axis are manipulated in such a way that the center of the figure appears to be the Cartesian coordinates origin, (x,y) = (0,0). The dipole charge is 1 nC, while the dipole length is 10 meters(10 grids apart).

Cite As

Praveen Ranganath (2024). Calculating Electric field of a dipole using Coulomb's law (https://www.mathworks.com/matlabcentral/fileexchange/42288-calculating-electric-field-of-a-dipole-using-coulomb-s-law), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Categories
Find more on Physics in Help Center and MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0