Vector Function to calculate grades
Show older comments
I need a MATLAB function that will output a vector which is derived from a matrix of grades in a course.
The maxtrix is as follows:
10 6 8 10 18 30
9 8 12 9 16 35
7 10 9 7 9 41
Each row represents one student. The first four numbers in a row represent assignment grades out of 10. You must take the top 3 out of 4 grades on the assignment. The fifth number represents the midterm grade which is out of 20 and the last number represents the final exam grade out of 50. The assignments are worth 30% of the grade, the midterm is worth 20 % and the final is worth 50%. I need a vector that will out the grades of these 3 students.
1 Comment
Cedric
on 6 Apr 2013
It seems to me that you defines max points to reflect these percents that you provide in the end already..?
Accepted Answer
More Answers (0)
Categories
Find more on Dynamic System Models in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!