Hello Every one !
Suppose i have a vector a=[1 2 3 4 5 6 7 8 9 10]
Now i want to shuffle these number! and produce new vector b which consist of shuffle numbers which is best way to do it !
This problem is very similar to shuffle a group of cards!
I have a approach in my mind like
Take a random number from a, put it in a b in random position then choose another one from a put it randomly in b ! Question how to do it
Suppose i have a vector a=[1 2 3 4 5 6 7 8 9 10]
Now i want to shuffle these number! and produce new vector b which consist of shuffle numbers which is best way to do it !
This problem is very similar to shuffle a group of cards!
I have a approach in my mind like
Take a random number from a, put it in a b in random position then choose another one from a put it randomly in b ! Question how to do it
Comment