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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started