a = [1 2 3 4 5;
6 7 8 9 10]
a_rand = a(randperm(length(a)))
When i run the above two commands it executes and gives the following result
But in this result i can get only one row .
Coud anyone help me how to get two rows with the left out numbers displaying at the second row.