Question: In Question 1 , you created an array called my _ arr. Use the reshape function to create a 3 x 3 matrix named arr

In Question 1, you created an array called my_arr. Use the reshape function to create a 3x3 matrix named arr_reshaped.
Print out arr_reshaped to see the result.
Use indexing to print out the last row of the matrix and print out the element at the center of the matrix.
Create two 1-dimensional arrays named X and Y with the elements [3,9,5,4] and [1,8,7,6], respectively.
Compute the dot product of X and Y and print the result.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!