Discover a wealth of knowledge at Westonci.ca, where experts provide answers to your most pressing questions. Join our platform to connect with experts ready to provide precise answers to your questions in various areas. Discover in-depth answers to your questions from a wide network of professionals on our user-friendly Q&A platform.

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: