MATLAB QUESTION
Grades = [69, 84, 62, 70, 75, 82, 57, 8, 76, 85, 62, 75, 84, 96, 70, 68, 72, 75, 83, 90] The grades are listed above. Find the mean, median, mode, and standard deviation using MATLAB.
Grades = [69, 84, 62, 70, 75, 82, 57, 8, 76, 85, 62, 75, 84, 96, 70, 68, 72, 75, 83, 90]
a = mean(Grades) # here mean command gives mean value of grades, this is stored in a #
a = 72.150
b = median(Grades) # here median command gives median value of grades, this is stored in b #
b = 75
c = mode(Grades) # here mode command gives mode value of grades, this is stored in c #
c = 75
d = std(Grades) #here std command gives standard deviation of grades, stored in d# d = 18.027
This is simple question when you are used matlab.I have used # this function to explain the commands of matlab. In matlab mean, mode etc are simply calculated by its direct command.You have to follow these commands and follow basic steps in matlab and you can get the results. Thank you
Get Answers For Free
Most questions answered within 1 hours.