The template will create a data matrix called grades. In this matrix, each row is the scores for one student, and each column is the scores for the whole class on one exam. Perform the following operations.
(a) Create a column vector, named prob2a, containing each student's total points by summing the matrix by rows.
(b) Create a row vector, named prob2b, containing the average score on each exam by averaging the matrix by columns.
(c) Create a column vector, named prob2c, with each student's highest exam score.
(d) Create a row vector, named prob2d, with the low score on each exam
Script
1 grades = randi([50, 100], 36, 8); %36 students, 8 exams