Question: Matlab please!!! It is often useful to be able to simulate the throw of a fair die. Write a MATLAB function, dice.m, that simulates the

Matlab please!!!
It is often useful to be able to simulate the throw of a fair die. Write a MATLAB function, dice.m, that simulates the throw of a fair die by returning some random integer between 1 and 6 every time that it is called. Write a script, test_dice.m, that simulates 10,000 times with drawing a histogram figure and displays the first 30 values in the dice. The histogram must have title, x-label, and y-label. Show the function dice.m, the script test_dice.m, and the testing result and figure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
