Ysing MATLAB or Octave
The following is a table showing student scores over 3 thermodynamics exams. (Column 1 = student number, Column 2 = exam 1 scores, Column 3 = exam 2 scores, Column 4= exam 3 scores)
[ 1 68 45 92; 2 83 54 93; 3 61 67 91; 4 70 66 92; 5 75 68 96; 6 82 67 90; 7 57 65 89; 8 5 69 89; 9 76 62 97; 10 85 52 94; 11 62 34 87; 12 71 45 85; 13 96 56 45; 14 78 65 87; 15 76 43 97; 16 68 76 95; 17 72 65 89; 18 75 67 88; 19 83 68 91; 20 93 90 92];
Enter the scores matrix into MATLAB and answer the following:
a. extract the student number and scores for student 5 in a row vector named student_5
b. extract the scores for test 1 into a column vector named test_1
c. find the average and standard deviation for each exam
d. assuming each exam was worth 100 points, find each student's final average score. Display this as a two column table
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here