Question: Using matlab, Use the function randn to generate 500 scores/values as the grades/scores of the attempts for students to pass the course Measurement Lab. The
Using matlab, Use the function randn to generate 500 scores/values as the grades/scores of the attempts for students to pass the course Measurement Lab. The score should be normally distributed between 0 to 100, with a mean of 80 and standard deviation of 10 (you can Google for the meanings of mean and standard deviation in a normal distribution, but it wont affect too much in coding for this question). Generally, the distribution of the number of students in getting grades should be a Gaussian Distribution with most of the students getting ~80. And the possibility will gradually decrease as its distance to 80 increases.Use for loop and if statement to classify and count, how many people can get an A, how many people can get a B, how many people will get lower-than-B grades. Finally, generate a histogram for the distribution of the grades.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
