Welcome to Westonci.ca, the ultimate question and answer platform. Get expert answers to your questions quickly and accurately. Join our platform to connect with experts ready to provide detailed answers to your questions in various areas. Experience the convenience of finding accurate answers to your questions from knowledgeable experts on our 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: