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:
  1. highest: The maximum mark achieved.
  2. average: The average mark of the class (rounded to two decimal places).
  3. count_highest: The total number of students who achieved that maximum mark.
  4. indices_highest: A vector containing the index positions of the students who scored the highest mark.
  5. top_three: A vector containing the top 3 unique highest marks sorted in descending order.

Solution Stats

5 Solutions

4 Solvers

Last Solution submitted on Jun 14, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers4

Suggested Problems

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!