Question: just part (d) and part (e) please Prob 3. 25pts Write a Matlab script to generate the following. Do not show any numerical results. Show
Prob 3. 25pts Write a Matlab script to generate the following. Do not show any numerical results. Show his- tograms only. (a) 10000 random real numbers uniform in the range from 20 to 50. Show histogram in 30 bins. (b) 10000 Gaussian random real numbers with mean 20 and standard deviation 50. Show histogram in 30 bins. (c) 300 x 300 matrix of random integers uniform in the range from 50 to 100, including both ends No histogram is needed. (d) 10000 random integers, either l's or O's. But l's will occur roughly 70% of the time. Show histogram. (e) 10000 random integers containing 2 for 30% of the time, 6 for 20% of the time, and 9 for 50% of the time. Show histogram
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
