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).
Praveen Ranganath (2022). 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
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!