Question: Problem Information The grading scheme for an intro physics course is HW: 1 5 % Exams: 5 0 % Labs: 2 0 % Final Project

Problem Information
The grading scheme for an intro physics course is
HW: 15%
Exams: 50%
Labs: 20%
Final Project 15%
This grading scheme and the course grades for every student are defined as variables in the beginning of the
provided script template below. The array G holds the student grades. Each row represents one of the assignment
bins (e.g., Exams), and each column represents a single student's scores in all 4 bins. The first row represents the
HW bin, the second the Exams bin, the third the Labs bin, and the fourth the Final Project bin. Each bin has a
maximum total of 100 points. The G array looks something like (without the column and row headers):
Add lines of code that accomplish the following tasks:
Create a column vector for which the first element is the maximum unweighted HW score across all students,
the second element is the maximum unweighted Exams score across all students, etc. Store this vector to a
variable called maxall.
Create a column vector for which the first element is the minimum unweighted HW score across all students,
the second element is the minimum unweighted Exams score across all students, etc. Store this vector to a
variable called minall.
Create a row vector for which the first element is the maximum unweighted score across all assignment bins
for student 1, the second element is the maximum unweighted score across all assignment bins for student 2,
etc. Store this vector to a variable called maxs.
Create a row vector for which the first element is the minimum unweighted score across all assignment bins
for student 1, the second element is the minimum unweighted score across all assignment bins for student 2,
etc. Store this vector to a variable called mins.
Combine the bin weights (W) and the unweighted student grades (G) to create a variable that stores the
weighted student grades, still separated by assignment bin. Call this varaible W.
Sum W to create a row vector where each column represents a student's total percentage in the course. Call
this variable FinalGrades.
Determine the maximum weighted grade in the course among all the students. Store the answer to a variable
called maxGrade.
Determine the minimum weighted grade in the course among all the students. Store the answer to a variable
called mingrade.
As always, it is recommended to work in MATLAB then copy and paste your code to MATLAB Grader. Debugging is
much easier in MATLAB than in the Grader portal.
Also, be sure to comment your script accordingly.
 Problem Information The grading scheme for an intro physics course is

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!