Question: Write a MATLAB function named average_of_scores_with_drops: The function will have two inputs and two return values. The first input will be a list of scores.

Write a MATLAB function named average_of_scores_with_drops:

The function will have two inputs and two return values.

The first input will be a list of scores.

The second input will be a postive integer representing the number of scores to drop. It will not be larger than the length of the list.

Your function should determine the average of the scores after dropping the specified number of lowest scores.

The first return value must be a real number equal to the average score.

The second return value must be the number of items that were averaged.

Please help soon because I have a quiz in a few hours, Thanks.

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!