Question: PART 2 (Lab) Q1) Write a MATLAB program that uses two arrays which contain information about students. You need to do the following Define a
PART 2 (Lab) Q1) Write a MATLAB program that uses two arrays which contain information about students. You need to do the following Define a 2-D array of Student(5,4) that contains the data as follows - Student ,2) represents the student's math course grade Student (,3) represents the student's matlab course grade Student (:.4) represents the student's sum of the two grades Define 1-D array of string Name(1.5) that contains the name of students o Student,1) represents the student's ID o o o Name ID Math Matlab Sum of rades Abdulla Amna May Saeed 40 50 50 75 60 20 30 Reads the students data from student (ID, Math grade, Matlab grade and Name) function IStudent, Namel read (size) - Calculares the sum of grade of the students using the following formula sum Grade Math +Matlab function IStudent]-OverallGrade (Student, size) Find the student that has the highest stm of grades and prints the student information with the highest sum of grades. function highestOverall (Student, Name, size) Display the array's content on screen. print(Student, Name,size)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
