Particle motion in electromagnetic field
Show older comments
I have to write a MATLAB script to simulate the motion of particle in a spectrometer using the differential equations of motion. Does exist any script that solve differential equations of charged particles motion I can use as example and guidance? It would be my first attempt to solve differential problem in MatLab and I am a newbie also, then more material I have the more happy I am.
Accepted Answer
More Answers (1)
Patrick Kalita
on 25 Jan 2012
0 votes
The ode family of functions are used to solve differential equations in MATLAB. I would recommend looking at the examples on that documentation page to learn how to define and solve your differential equations.
Categories
Find more on Physics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!