Question: 3 . Write a python program that creates the following 1 D NumPy arrays. a = [ 1 , 2 , 3 ] b =
Write a python program that creates the following D NumPy arrays.
a
b
c
Then create matrices D arrays such that:
The new matrix A is constructed by stacking a b and c vertically.
The new matrix B is constructed by stacking a b and c horizontally.
Construct a new matrix C such that matric C will be the transpose of matrix A
Construct a new matrix B such that matric D will be the transpose of matrix B
Finally, print the arrays.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
