Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed
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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Linked Data A Geographic Perspective

Authors: Glen Hart, Catherine Dolbear

1st Edition

1000218910, 9781000218916

More Books

Students also viewed these Databases questions

Question

1. Where do these biases come from?

Answered: 1 week ago

Question

In an Excel Pivot Table, how is a Fact/Measure Column repeated?

Answered: 1 week ago