score_predict

score_predict - %the length of the vector minus 1 (to...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
function [lowest_possible_score highest_possible_score]=score_predict(vector_of_scores) %function to drop the highest and lowest scores of the given vector and %produce the next highest and next lowest scores in the given vector %usage: [lowest_possible_score. .. %highest_possible_score]=score_predict(vector_of_scores) lowest_possible_score=(sum(vector_of_scores)-max(vector_of_scores))./ (length(vector_of_scores)-1); %this will take the sum of the values from the vector and subtract the maximum value and divide them by
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %the length of the vector minus 1 (to account for the subtraction of the maximum), which will account if the final judge gives %a score of 1 highest_possible_score=(sum(vector_of_scores)-min(vector_of_scores))./ (length(vector_of_scores)-1); %this will take the sum of the values from the vector and subtract the minimum value and divide them by %the length of the vector minus 1 (to account for the subtraction of the minimum), which will account if the final judge gives %a score of 10...
View Full Document

Ask a homework question - tutors are online