image thumbnail

Calculating Electric field of a dipole using Coulomb's law

version 1.0.0.0 (2.02 KB) by Praveen Ranganath
This code computes the Electric Field distribution due to a dipole in a 2-D plane.

2.4K 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 (2021). 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

Community Treasure Hunt

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

Start Hunting!