disp("英语最差成绩学生: " + findMinScoreStudent(English));disp("英语最差成绩: " + min(English));disp("英语平均分: " + averageScore(English));studentAverages = calculateStudentAverages(Chinese, Math, English);disp("每个学生的总平均分:");disp(studentAverages);end% 查找最高分学生索引的函数function maxIndex = findMaxScoreStudent(scores)maxIndex = find(scores == max(scores));end% 查找最低分学生索引的函数function minIndex = findMinScoreStudent(scores)minIndex = find(scores == min(scores));end% 计算平均分的函数function avgScore = averageScore(scores)avgScore = mean(scores);endfunction studentAverages = calculateStudentAverages(Chinese, Math, English)nStudents = length(Chinese);studentAverages = (Chinese + Math + English) ./ 3;end