Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Overview This HW problem will help you solidify your data analysis / manipulation skills in MATLAB. Data is often given to you in a certain
Overview
This HW problem will help you solidify your data analysismanipulation skills in MATLAB. Data is often given to you in a
certain format and you must work with it asis Here, you are given student grades organized as described below and
asked to manipulate the grade data accordingly.
Working with data in arrays can be challenging, especially if you haven't done it before. You will likely be much more
successful if you visualize the data and the desired results by writing out the arrays by hand. This kind of
visualization can make a coding task that initially seems intractable seem much more clear and feasible.
Problem Information
The grading scheme for an intro physics course is
HW:
Exams:
Labs:
Final Project
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 holds the student grades. Each row represents one of the assignment bins eg
Exams and each column represents a single student's scores in all 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
points. The 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 the second element is the maximum unweighted score across all assignment bins for student 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 the second element is the minimum unweighted score across all assignment bins for student etc.
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