| Author |
Comment/Response |
Dan
|
01/24/10 10:14am
I'm currently trying to simulate a random walk, counting the number of times that the walk = 0. I can't see where my functions are wrong cause it works the first time but then if I iterate it then it produces the same list but with the parameters at the end, e.g I run Walk[21] twice... first time I get {1,0,1,2,1...} which is what I want then run it again I get the same list but with {1,0,1,2,1...}[21] the list should change each time!!
Any help on this would be great!!!!
Attachment: Random Walk Sim.nb, URL: , |
|