User Portlet User Portlet

Discussions
adrd
Hi I am trying to create a random list of only -1 and 1.  I am only need 10 digits, I don't want any zeroes.  I have tried to use mathematica to omit 0's with the if command but that doesn't work. [code] H = Table[RandomInteger [{-1}, {1}], {i, 0,...
I am trying to write code that uses a random number to take either one step forward back or even stay still.  I am having problems with generating the correct step length. I use the table to command to have 20 steps but each increment of the random...