Hi
If we declare two rows of random numbers
x = randn(2,100)
and
then use a for loop to move the numbers
for k=1:10x = 1 0 * x 0 1end for
This will spread the numbers from (0,0), right? But if I want the numbers to start from (10,10) and if they cross 20, reinitialize them again… is this possible?
If not with randn, can you suggest another solution?
Best Answer