Question: 1 5. Create the following 4x4 matrix using Numpy command (2M) X2= array([[12, 5, 7. 4). 17 6, 11, 8], 1, 6, 5, 3), [3.
1 5. Create the following 4x4 matrix using Numpy command (2M) X2= array([[12, 5, 7. 4). 17 6, 11, 8], 1, 6, 5, 3), [3. 9, 8,2]] What is the output for the following commands for the above matrix X2 a) X2[3](2M) b) X2[3:) (2M) c) X2[-1:-2-2) (2M) d) X2[3::2](2M)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
