File Exchange

image thumbnail

Electromagnetic Field Demo

version (24.3 KB) by

Visualization of the electromagnetic field induced by current in a straight wire.



View License

This GUI provides a visualization of the electromagnetic field induced by a current flowing in a straight wire. The tool also shows the current induced by a rectangular coil that is placed inside the electromagnetic field. The current is calculated using Ampere's Law and the Biot-Savart Law. This demo was created for educational demonstrations.
The user can modify the size and position of the coil, as well as the resistance. The current waveform and magnitude can also be specified.

Comments and Ratings (3)


Richard (view profile)

Really cool! Thanks.

Diego Barragán

Diego Barragán (view profile)


Updated license


Fixed a graphics bug if you clicked on the top axes before adjusting other settings.


Updated copyrights for BSD license.

MATLAB Release
MATLAB 7.7 (R2008b)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video