To create:
• The variable for the given matrix
• The variable for the given two matrices
• To find whether other multiplication operation can be performed in part 2 or not.
Answer to Problem 45E
Solution:
• The variable for the given matrix
• The variable for the given two matrices
• The variable for the given two matrices
Explanation of Solution
• The variable for the given matrix
The given matrices are,
And,
Substitute
Therefore, the elements of the matrix “3*A” are
Now, verify the expression output through the MATLAB command.
MATLAB Code:
A = [1 4; 3 2]
%Define the command to get the matrix “A”.
3*A
%Define the command to get the output of the expression “3*A”.
Save the MATLAB script with name, chapter2_54793_2_45_1E.m in the current folder. Execute the script by typing the script name at the command window to create the variable for the given matrix
Result:
Therefore, the variable for the given matrix
• The variable for the given two matrices
The given matrices are,
And,
Substitute
Therefore, the elements of the matrix “A*C” are
Now, verify the expression output through the MATLAB command.
MATLAB Code:
A = [1 4; 3 2]
%Define the command to get the matrix “A”.
C = [3 2 5; 4 1 2]
%Define the command to get the matrix “C”.
A*C
%Define the command to get the output of the expression “A*C”.
Save the MATLAB script with name, chapter2_54793_2_45_2E.m in the current folder. Execute the script by typing the script name at the command window to create the variable for the given two matrices
Result:
Therefore, the variable for the given two matrices
• To find whether other multiplication operation can be performed in part 2 or not.
The given matrices are,
And,
Substitute
Therefore, the elements of the matrix “C*B” are
Now, verify the expression output through the MATLAB command.
MATLAB Code:
C = [3 2 5; 4 1 2]
%Define the command to get the matrix “C”.
B = [2 1 3; 1 5 6; 3 6 0]
%Define the command to get the matrix “B”.
C*B
%Define the command to get the output of the expression “C*B”.
Save the MATLAB script with name, chapter2_54793_2_45_3E.m in the current folder. Execute the script by typing the script name at the command window to create the variable for the given two matrices
Result:
Therefore, the variable for the given two matrices
Want to see more full solutions like this?
Chapter 2 Solutions
MATLAB: A Practical Introduction to Programming and Problem Solving
- For the matrices below, find (a) AB, (b) 3A and (c) 3A2B. A=410438 and B=041317arrow_forwardAre the two matrices similar? If so, find a matrix P such that B=P1AP. A=[100020003]B=[300020001]arrow_forwardIf A and B are matrices with the same dimension and k is a real number, how do you find A+B and kA ?arrow_forward
- Let X1,X2,X3 and b be the column matrices below. X1=[101], X2=[110], X3=[011] and b=[123] Find constants a, b, c and c such that aX1+bX2+cX3=barrow_forwardLet A and B be square matrices of order 4 such that |A|=5 and |B|=3.Find a |A2|, b |B2|, c |A3|, and d |B4|arrow_forward11. Find two nonzero matrices and such that.arrow_forward
- Elementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage LearningElements Of Modern AlgebraAlgebraISBN:9781285463230Author:Gilbert, Linda, JimmiePublisher:Cengage Learning,
- College Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningAlgebra for College StudentsAlgebraISBN:9781285195780Author:Jerome E. Kaufmann, Karen L. SchwittersPublisher:Cengage LearningCollege AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning