3. For the following array of test scores, [99,58,87,78,100,100,91,93,78,66] Fin
ID: 3703134 • Letter: 3
Question
3. For the following array of test scores, [99,58,87,78,100,100,91,93,78,66] Find the mean, standard deviation, minimum value, maximum value, and total number of scores using MATLAB's built-in functions (such as mean()) and tell the user these values. Note: In future problems, we may not allow you to use these built-in functions since they are specific to MATLAB (there is no mean() function in Fortran). However, it is important that you know these functions exist. If it is unclear whether or not you are allowed to use a built in function, please ask.Explanation / Answer
scores = [99, 58, 87, 78, 100, 100, 91, 93, 78, 66];
fprintf('Mean is %f ', mean(scores))
fprintf('Standard deviation is %f ', std(scores))
fprintf('Minimum score is %f ', min(scores))
fprintf('Maximum score is %f ', max(scores))
fprintf('Toal number of scores is %d ', length(scores))
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.