Question: Write a MATLAB program or Excel macro that will simulate the rolling of two dice 1 0 0 0 times and print the frequency of
Write a MATLAB program or Excel macro that will simulate the rolling of two dice times and print the frequency of each result. The output should consist ONLY of tworows or columns The first or column row lists the numbers The second showshow many times that value was rolled. Make sure to add titles so the rows columnsare clear.Hint: Use the randi function in MATLAB or RAND function in Excel
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
