Question: Write a program to find product of a row vector, U having dimension 1 x 2 with a 2 x 2 matrix, A. The input

Write a program to find product of a row vector, U having dimension 1 x 2 with a 2 x 2 matrix, A. The input to the program includes initialized row vector, U and matrix, A. The expected output is a transformed row vector. You can test your program using following example: A =

2 4
5 1

4 5 1 and U = [3 2] The result of product U.A is a transformed row vector: [16 14]

Q2. Write a program to find product of a column vector, V having dimension 2 x 1 with a 2 x 2 matrix, A. The input to the program includes initialized column vector, V and matrix, A. The expected output is a transformed column vector. You can test your program using following example: A =

2 4
5 1

and V = [ 2 5 ]

The result of product V.A is a transformed column vector: [14 15]

Q3. Write a program to find sum of two matrices, each having dimensions 2 x 2.

Q4. Write a program to find transpose of a 3 x 2 matrix. The resulting transposed matrix would be of size 2 x 3. 5

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 Databases Questions!