This preview shows page 1. Sign up to view the full content.
Unformatted text preview: %finds the average of the rows avg_array=sum(sum(array_grades))./(length(array_grades).*length(array_grades)'); %finds the average of the entire array array_with_all=[array_grades ; avg_col]; %places the row averages at the end of the columns %places the column averages at the end of the rows %places the array average at the bottom corner of the new array...
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 Tech.
- Spring '08