This preview shows page 1. Sign up to view the full content.
Unformatted text preview: y=new_average-x; %calculates the difference between the desired average and the actual %average; the difference in the averages will be what needs to be added or %subtracted from each grade in order to achieve the new average curved_matrix=y+matrix_original; %adds the difference in averages to the original array of grades, which %will give the new array of grades required to obtain the desired average...
View Full Document
- Spring '08