function s = sample_uniform(Q, n, m)
% SAMPLE_UNIFORM Draw n*m samples from the uniform distribution on [1, 2, ..., Q]
% s = sample_uniform(Q, n, m)
% Default: n=1, m=1

if nargin==1
  n = 1; m = 1;
end

s = sample_discrete(normalise(ones(1, Q)), n, m);
