Hello guys,
lets say I have 3 arrays and 3 random numbers that I use to increase elements in the 3 arrays. Something like this:
a = rand()*(2)-1;b = rand()*(2)-1;c = rand()*(2)-1;X = [1...10];Y = [11...20];Z = [21...30];
Now the easiest way to increase the elements in arrays by those number would be:
X1 = X+aY1 = Y+bZ1 = Z+c
My question is if there is a way to add those random numbers randomly, so it will alway choose a random number from a,b,c to every array
Best Answer