%% Random Permutation of Integers
% Generate a random permutation of the integers from 1 to 6. The input to randperm indicates the largest integer in the sampling interval (the smallest integer in the interval is 1).

r = randperm(6)

%
% Copyright 2006-2019 The MathWorks, Inc.