Unformatted text preview: Store your % answer in the variable "E". E = [mat1; mat2]; % (e) Take the top half of the array stored in the variable % "mat2"- that is, take all of the columns and the first half of the % rows. Store your answer in the variable "F". F = mat2(1:round(end/2),:); % (f) Transpose "mat2". Save your answer in the variable "G". G = mat2'; % (g) Linearize "mat1". "mat1" should go from a MxN array to a (M*N)x1 % array. Store your answer in "H". H = mat1(:);...
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