Statistics problem by Matlab

profilesa3p14

 

Read Random number generation and Histograms by Donald Duncan.  Also, you will find example 001.m which is the Matlab file used in attachment . 


Write a Matlab script to do the following: 


a. Generate two separate sequences of 100,000 samples from a uniform distribution (use the rand command, not randn) 

b. Plot the normalized histogram for each of the above sequences. 

c. Add these two sequences together and compute and plot the resulting histogram. 

d. Repeat for three sequences. 

e. Discuss your results. Specifically address the range of values of the histograms 

and their shapes as you add more and more sequences. 


Be sure to label the axes of all your plots. 

  • 8 years ago
  • 15
Answer(1)

Purchase the answer to view it

blurred-text
NOT RATED
  • attachment
    Results.m
  • attachment
    Results.docx