score_predict

# score_predict - %the length of the vector of x, which will...

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

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) x=vector_of_scores<max(vector_of_scores); %this will produce the logical of all of the values less than the max of %the vector lowest_possible_score=sum(vector_of_scores(x))./length(vector_of_scores(x)); %this will take the sum of the values from the logical x and divide them by
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: %the length of the vector of x, which will account if the final judge gives %a score of 1 y=vector_of_scores>min(vector_of_scores); %this will produce the logical of all of the values less than the max of %the vector highest_possible_score=sum(vector_of_scores)./length(vector_of_scores(y)); %this will take the sum of the values from the logical y and divide them by %the length of the vector of y, which will account if the final judge gives %a score of 10...
View Full Document

## This note was uploaded on 10/21/2010 for the course CS 1371 taught by Professor Stallworth during the Spring '08 term at Georgia Institute of Technology.

Ask a homework question - tutors are online