# Find the indices in A where the values are greater than 20 Crea

Content type
User Generated
Rating
Showing Page:
1/2
Find the indices in A where the values are greater than
20. Create a 4x4 magic square matrix A. pick up a 2x2
submatrix B from the 2^nd and 3^rd row and 2^nd and 3^rd
column of A. Create a 4x4 matrix C by replicating the
matrix B four times. Create a new matrix D by shifting the
row down by 1 and the columns left by 2 from the magic
matrix A.
Solution
A magic matrix is an arrangement of distinct numbers (i.e.,
each number is used once) in such a way that sum of
every row, column and diagonals are same.
4 X 4 magic matrix
Matrix A
Sum of every row, column and diagonal of above matrix is
34
a) 2x2 submatrix from above matrix using 2nd and 3rd row
& 2nd and 3rd column
Matrix B
b) 4x4 matrix C using matrix B 4 times
Matrix C
c) Matrix D by shifting matrix A71211421381116310596154

Showing Page:
2/2

Unformatted Attachment Preview
Find the indices in A where the values are greater than 20. Create a 4x4 magic square matrix A. pick up a 2x2 submatrix B from the 2^nd and 3^rd row and 2^nd and 3^rd column of A. Create a 4x4 matrix C by replicating the matrix B four times. Create a new matrix D by shifting the row down by 1 and the columns left by 2 from the magic matrix A. Solution A magic matrix is an arrangement of distinct numbers (i.e., each number is used once) in such a way that sum of every row, column and diagonals are same. 4 X 4 magic matrix Matrix A Sum of every row, column and diagonal of above matrix is 34 a) ...
Purchase document to see full attachment
User generated content is uploaded by users for the purposes of learning and should be used following Studypool's honor code & terms of service.

Anonymous