%% Random Integers
% Use the randi function (instead of rand) to generate 5 random integers from the uniform distribution between 10 and 50.

r = randi([10 50],1,5)

% Copyright 2012 The MathWorks, Inc.