the first column consists of test #1 marks, the second column is test #2 marks, and the third column is final exam marks.how many students got a higher mark on the exam than on test #1 in matlab
main.m
% Assuming test1, test2, final_exam are matrices containing marks of students% Test #1 marks are in the first column, Test #2 marks in the second column, and final exam marks in the third column% Counting the number of students who got a higher mark on the final exam than on Test #1higher_final_exam_marks = sum(final_exam > test1);