Search for question
Question

Assigned: Due: 1. The following 4 x 4 magic matrix is created by a MATLAB command, A = magic (4): [16 2 3 13] 5 11 10 8 7 6 12 9 4 14 15 1 A = Write a Matlab code, using a subarray command, create the following 2 × 3 matrix B that corresponds to the first and third rows, as well as the second to fourth columns of the matrix A. (15 pts) B = = [2 3 131 L7 6 12

Fig: 1