Random 2D Particle Walk

4 views (last 30 days)
Bianca Batista
Bianca Batista on 7 May 2018
Commented: Walter Roberson on 7 May 2018
Consider a particle that starts at the origin (0,0) and randomly walks through the x-y plane for 1000 steps. At each step, the particle moves in any ONE of 4 possible directions (+x,-x,+y,-y) at different probabilities (the probabilities of moving in any of the 4 directions must add to one). I need each particle to take 1,000 steps and for this to happen for 10,000 particles. I just need to plot the final location of each particle.

Answers (0)

Categories

Find more on Particle & Nuclear Physics in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!