i have a vector of 4 columns and 150 rows named "samples". I want to put randomly the 120 rows in a new vector, and the remaining rows in a second new vector. I am new to matlab. can anyone help me? thanks in advance.
MATLAB: Split a vector into 2 vectors randomly
MATLABrandomvectors
Best Answer