%% Permute a Selection of Integers
% Generate a random permutation of four unique integers (without repeating elements) selected randomly from the integers 1 to 8.

r1 = randperm(8,4)

% Generate another random permutation of four unique integers.

r2 = randperm(8,4)

%
% Copyright 2006-2019 The MathWorks, Inc.