
Concept explainers
To create:
The variables for these two matrices and perform these operations “A+B”, “A-B” and “A.B”.

Answer to Problem 38E
Solution:
The variables for the given two matrices are “A = [1:1:3; 4 -1 6]”, and “B = [2 4 1; -1 3 0]” and the output of these operations “A+B”, “A-B”, and “A.B” are
Explanation of Solution
The given matrices are,
And,
Substitute
Therefore, the elements of the matrix “A+B” are
Substitute
Therefore, the elements of the matrix “A-B” are
Substitute
The multiplication of the matrix is not possible.
Now, verify the expression output through the MATLAB command.
MATLAB Code:
A = [1:1:3; 4 -1 6]
% Define the command to get the matrix “A”.
B = [2 4 1; -1 3 0]
% Define the command to get the matrix “B”.
A+B
% Define the command to get the output of the expression “A+B”.
A-B
% Define the command to get the output of the expression “A-B”.
A*B
% Define the command to get the output of the expression “A*B”.
Save the MATLAB script with name, chapter2_45251_2_38E.m in the current folder. Execute the program by typing the script name at the command window to create the variables for given two matrices and perform the following operations “A+B”, “A-B” and “A*B”.
Result:
Therefore, the variables for the given two matrices are “A = [1:1:3; 4 -1 6]”, and “B = [2 4 1; -1 3 0]” and the output of these operations “A+B”, “A-B”, and “A.B” are
Want to see more full solutions like this?
Chapter 2 Solutions
Matlab, Fourth Edition: A Practical Introduction to Programming and Problem Solving
- The customer help center in your company receives calls from customers who need help with some of the customized software solutions your company provides. Your company claims that the average waiting time is 7 minutes at the busiest time, from 8 a.m. to 10 a.m., Monday through Thursday. One of your main clients has recently complained that every time she calls during the busy hours, the waiting time exceeds 7 minutes. You conduct a statistical study to determine the average waiting time with a sample of 35 calls for which you obtain an average waiting time of 8.15 minutes. If the population standard deviation is known to be 4.2 minutes, and a = 0.05, the p-value is approximately 0.05 0.025 ○ 0.053 ○ 0.10 ○ 0.026arrow_forwardThe procedures for doing hypothesis testing of proportions and hypothesis testing of means are similar, but what is one of the differences they have ?arrow_forwardThe p-value is the probability of a statistic being at most as extreme as the observed value when Ho is false. the probability that the alternative hypothesis is true. O the probability that the null hypothesis is true. O the probability of a statistic being at most as extreme as the observed value when Ho is true. O the probability of a statistic being at least as extreme as the observed value when Ho is true.arrow_forward
- Why the correct answer in 9b is 1/150? What is the solution to the answer?arrow_forwardHow to get the answer in question 8 letter c? What is the solution to get the answer of 12.6?arrow_forwardThe daily sales (in hundreds of dollars) for a store in one month (30 days) are: 15, 22, 18, 25, 19 12, 17, 24, 20, 23 30, 28, 26, 31, 35 21, 19, 27, 18, 20 16, 15, 32, 30, 17 24, 29, 22, 33, 25 a. Construct a grouped frequency distribution with class intervals of width 5 starting from 12. b. Draw a histogram and state whether the data is symmetric, skewed left, or skewed right. Instruction: 1. Please answer the question given above for your tutorial participation mark. 2. Please upload your hand-written answers (pdf format).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,
- College AlgebraAlgebraISBN:9781305115545Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningAlgebra and Trigonometry (MindTap Course List)AlgebraISBN:9781305071742Author:James Stewart, Lothar Redlin, Saleem WatsonPublisher:Cengage LearningElementary Linear Algebra (MindTap Course List)AlgebraISBN:9781305658004Author:Ron LarsonPublisher:Cengage Learning





