Skip to main content

Timeline for Programming a 2D random walk

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Oct 8, 2015 at 7:45 history edited dr.blochwave CC BY-SA 3.0
added 16 characters in body
Oct 8, 2015 at 5:46 comment added user31159 You can make your code a little simpler with: Randomwalk[n_] := NestList[# + RandomChoice[{{1, 0}, {-1, 0}, {0, 1}, {0, -1}}] &, {0, 0}, n].
Oct 8, 2015 at 5:38 history answered Prashanth CC BY-SA 3.0