Write a matlab script using the randn command to generate a


Write a Matlab script using the "randn" command to generate a vector of 10,000 random numbers that are normally distributed around zero, with a variance of 1. Use the "hist" command to plot a histogram of these data, specifying 50 bins.

Use "find" command to determine what percentage of the data points lie within 1 standard deviation of the mean (which is zero). Redo this analysis for a smaller set of data (20 points) and reduce number of bins in the histogram.

Solution Preview :

Prepared by a verified Expert
MATLAB Programming: Write a matlab script using the randn command to generate a
Reference No:- TGS01236117

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)