This repository has been archived on 2021-05-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
scientificComputing/statistics/code/rollthedie.m

5 lines
117 B
Matlab

function x = rollthedie(n)
% return a vector with the result of rolling a die n times
x = randi([1, 6], n, 1);
end