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.

You are now following this Submission

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 (2026). 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 .

Categories

Find more on Physics in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0