Question: (6 pts) In this problem, you will use MATLAB and its random-number generators to analyze the uniform and normal distributions. 7. (1 pt) Use rand

 (6 pts) In this problem, you will use MATLAB and its

(6 pts) In this problem, you will use MATLAB and its random-number generators to analyze the uniform and normal distributions. 7. (1 pt) Use rand to generate a vector of 10,000 random numbers between 50 and 150. (1 pt) Use fprintf to print the minimum, maximum, median, mean, and standard deviations of the distribution to the screen. All should be to 5 sig figs. (1 pt) Make a histogram of the random numbers. See the histogram help menu to figure out how to limit the number of bins to ten (50 to 60, 60 to 70, etc.) and start and stop at 50 and 150, respectively. This can be done in a couple ways. (1 pt) Now use randn to generate 10,000 normally distributed random numbers with a mean of 100 and standard deviation of 20. (1 pt) Use fprintf to print the minimum, maximum, median, mean, and standard deviations of the distribution to the screen. More on these later. (1 pt) Make a histogram of the normally distributed random numbers. Use 20 bins, but you can let MATLAB decide the bin size and min/max x values for the bins. a. b. c. d. e. f

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!