in Matlab please
Q3(8). There are three classes at grade 7, each class has 6 students. The scores are saved in four vectors, one for each class. For example:
s1 = [51, 67, 89, 90, 74, 48]
s2 = [74, 43, 98, 85, 66, 80]
s3 = [89, 78, 65, 57, 40, 83]
Request to apply matrix/vector operation to calculate the following. Note, you can use the example data above, but your code need to be able to apply to any data values.
1(2). Code to combine three classes' score into one 3 by 6 matrix A
2(2). Code to find the average score, maximum score and minimum score for each class.
3(2). Code to add one new column to A as the last column which is the total score of each class.
4(2). Code to add one new row to A as the last row which is the column sum (sum along the column) of the matrix A.