Discover how IDNLearn.com can help you find the answers you need quickly and easily. Ask your questions and receive detailed and reliable answers from our experienced and knowledgeable community members.

HELPPPP PLEASE
Part E
How could you use a random number generator with the digits 0 to 9 to simulate the scenario?


Sagot :

Answer:

In Matlab, the command rand(1) returns a random number between 0 and 1 assuming uniform distribution. We can build other random variables using rand. For example, to get a random number between a and b we can use a+rand(1)(b − a). To get a 0 or 1 on a random way in Matlab, you can use round(rand(1)).

Step-by-step explanation: