3D Motion of a charged particle through magnetic and electric fields

3D trajectories of charged particles moving through magnetic and electric fields.
1.4K Downloads
Updated 12 Nov 2015

View License

A finite difference method is used to solve the equation of motion derived from the Lorentz force law for the motion of a charged particle in uniform magnetic fields or uniform electric fields or crossed magnetic and electric fields. The graphical output from the mscript gives a summary of the parameters used in a simulation, the trajectory in an
XY plane and 3D trajectory and displacement, velocity and acceleration time graphs.
The notes for the simulation can be found at

http://www.physics.usyd.edu.au/teach_res/mp/doc/em_vBE.pdf

Cite As

Ian Cooper (2024). 3D Motion of a charged particle through magnetic and electric fields (https://www.mathworks.com/matlabcentral/fileexchange/53973-3d-motion-of-a-charged-particle-through-magnetic-and-electric-fields), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2015b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

The documentation for the simulation can be found at

http://www.physics.usyd.edu.au/teach_res/mp/doc/em_vBE.pdf