Monte Carlo (PDF)
Matlab Tutorial (PDF)
Replicate a certain number of starting copies of DNA for several cycles. Try different probabilities of replication to get different histograms showing how much DNA is produced over many trials.
Put this in the same directory as pcr_sim.m to be able to run "pcr_sim" from the matlab prompt.
Random Walk - 2D with 2 Particles (M)
Look at how these simulations work and try making your own 3D random walk or have your particle trace out a trajectory in Matlab.
Random Walk - 2D (M)