Manipulate a matrix: Do the following operations on matrix G created in Exercise 4.
• Delete the last row and last column of the matrix.
• Extract the fimt 4 x 4 submatrix from G. • Replace G(5,5) with 4.
• What do you get if you type G(13) and hit return? Can you explain how MATLAB got that answer?
• What happens if you type G ( 12, 1 ) =1 and hit return?
Exercise 4:
Create a big matrix with submatrices: The following matrix G is created by putting matrices A, B, and C, given previously, on its diagonal. In how many ways can you create this matrix using submatrices A, B, and C (that is, you are not allowed to enter the nonzero numbers explicitly)?