Say, I have a matrix
a = [1 2 3 4 5 6 7 8 9 10] randsel = randperm (10,5)
Say randsel returns [1 3 5 6 10]
Now, I want to select the rest of the numbers and put it into another matrix ,say 'randsel2'
How to do that??!
MATLABmatrixmatrix manipulation
a = [1 2 3 4 5 6 7 8 9 10] randsel = randperm (10,5)
Best Answer