Row array gameScores contains all player scores. Construct a row array highScores than contains all player scores greater than minScore. Hint: meetsThreshold is a logic array that indicates which elements in gameScores are greater than minScore.
Ex: If gameScores is [2, 5, 7, 6, 1, 9, 1] and minScore is 5, then highScores should be [7, 6, 9].
function highScores = GetHighScores(gameScores, minScore)
% gameScores: Array contains all player scores
% minScore: Scores greater than minScore are added to highScores
meetsThreshold = (gameScores > minScore); % Logic array indicates which
% elements are greater than minScore
% Construct a row array highScores containing all player scores greater than minScore
highScores=0;
end;