M-Files for Matlab
M-Files written by Laura A. Knauth
Mentor: Professor James AberleTo use these files while in Matlab, enter the same directory in which the '.m' file is stored and type in the file name.
Electric field due to a positive point charge in free spaceMagnetic field due to an infinite line chargeElectric field due to an plane sheet of chargeElectric field due to a spherical charge distribution in free space
Note: For the 2-D and 3-D animations, make sure the 'Js.m' and 'U.m' file are in the same directory as the animation file.
2-D animation of a triangular electric field wave emanating from a point source in free space3-D animation of a triangular electro-magnetic wave emanating from a point source in free spaceU.mJs.m
Back to the Academic Works PageLaura A. Knauth's HomePage
Send any comments or questions to email@lauraknauth.com