An array is given that contains the marks received by a group of students in their class test. Write a function that processes these marks to extract key performance metrics.
Your function should calculate and return five distinct outputs:
- highest: The maximum mark achieved.
- average: The average mark of the class (rounded to two decimal places).
- count_highest: The total number of students who achieved that maximum mark.
- indices_highest: A vector containing the index positions of the students who scored the highest mark.
- top_three: A vector containing the top 3 unique highest marks sorted in descending order.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers4
Suggested Problems
-
MATLAB 101: Student Marks Analyzer
4 Solvers
More from this Author18
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!