I have a column vector, each of whose elements is a row vector consisting of two elements
The common term for that is a matrix.
If you want to sample without replacement, use randperm to determine which rows of your matrix you want to include and then use subscripted indexing to extract the selected rows. If you want to sample with replacement, use randi to generate the row indices then use subscripted indexing just like in the randperm (without replacement) case.
Best Answer