Create a matlab script using the randn command


Discussion:

Q: Create 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: Create a matlab script using the randn command
Reference No:- TGS01938806

Now Priced at $20 (50% Discount)

Recommended (94%)

Rated (4.6/5)