Question: 4) Define a vector with values ranging from 1 to 12. Now define a 4x3 matrix to store elements from the vector you have defined.
4) Define a vector with values ranging from 1 to 12. Now define a 4x3 matrix to store elements from the vector you have defined. That is, first 3 elements of the vector should be row 1 of the matrix, next 3 should be row 2, and so on(this is a python numpy matrix)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
