This preview shows page 1. Sign up to view the full content.
Unformatted text preview: array_with_all=[array_grades avg_row; [avg_col avg_array]]; %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 %you have to add the column of row averages first, because the columns will %need to be concatenated before the rows, because they have the same number %of rows as the original array; vertically concatenate the row of column averages concatenated %with the total average in order to keep the dimensions in the form of a %rectangle...
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.
- Spring '08