
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
- The following data represent total ventilation measured in liters of air per minute per square meter of body area for two independent (and randomly chosen) samples. Analyze these data using the appropriate non-parametric hypothesis testarrow_forwardeach column represents before & after measurements on the same individual. Analyze with the appropriate non-parametric hypothesis test for a paired design.arrow_forwardShould you be confident in applying your regression equation to estimate the heart rate of a python at 35°C? Why or why not?arrow_forward
- Given your fitted regression line, what would be the residual for snake #5 (10 C)?arrow_forwardCalculate the 95% confidence interval around your estimate of r using Fisher’s z-transformation. In your final answer, make sure to back-transform to the original units.arrow_forwardCalculate Pearson’s correlation coefficient (r) between temperature and heart rate.arrow_forward
- College Algebra (MindTap Course List)AlgebraISBN:9781305652231Author:R. David Gustafson, Jeff HughesPublisher:Cengage LearningElements Of Modern AlgebraAlgebraISBN:9781285463230Author:Gilbert, Linda, JimmiePublisher:Cengage Learning,
- Elementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage LearningCollege AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningAlgebra and Trigonometry (MindTap Course List)AlgebraISBN:9781305071742Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage Learning





