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.
Robyn Jackey (2020). Electromagnetic Field Demo (https://www.mathworks.com/matlabcentral/fileexchange/22949-electromagnetic-field-demo), MATLAB Central File Exchange. Retrieved .
Fixed a graphics bug if you clicked on the top axes before adjusting other settings.
Updated copyrights for BSD license.