Answered step by step
Verified Expert Solution
Question
1 Approved Answer
PART 2 (Lab) Q1) Write a Matlab program that uses two arrays which contain information about stodents You need to do the following - Define
PART 2 (Lab) Q1) Write a Matlab program that uses two arrays which contain information about stodents You need to do the following - Define a 2-D asray of Studeni(5,4) that contains the data as follows o Student1) represents the student's ID o Student (2) represents the student's midterm exam grade o Student .3) represents de student's final exam grade o Stadent (4) represents the stadent's overall grade Define 1-D array of string Name(1.,5) that contains the name of students Name Number Midterm Final Overall 90 80 75 60 68 Abdulla Amna 40 50 30 May Saeed Jasim 40 20 38 Reads the students data froen stodent (mamber, midterm, final and Name function [Stadent, Name] read (size) Calculates the overall grade of the students using the following formula overal!Grade = midterm + final function [Student]-OveralGrade (Student, size) Find the student who got the highest overall grade and prints the student information with the highest overall grade function highestOverall (Student, Name, size) Display the array's content on screen print(Student, Name,size) mst PART 2 (Lab) Q1) Write a Matlab program that uses two arrays which contain information about stodents You need to do the following - Define a 2-D asray of Studeni(5,4) that contains the data as follows o Student1) represents the student's ID o Student (2) represents the student's midterm exam grade o Student .3) represents de student's final exam grade o Stadent (4) represents the stadent's overall grade Define 1-D array of string Name(1.,5) that contains the name of students Name Number Midterm Final Overall 90 80 75 60 68 Abdulla Amna 40 50 30 May Saeed Jasim 40 20 38 Reads the students data froen stodent (mamber, midterm, final and Name function [Stadent, Name] read (size) Calculates the overall grade of the students using the following formula overal!Grade = midterm + final function [Student]-OveralGrade (Student, size) Find the student who got the highest overall grade and prints the student information with the highest overall grade function highestOverall (Student, Name, size) Display the array's content on screen print(Student, Name,size) mst
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started