Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Already have part 1 completed. I don't understand part 2. Part 2 **Within your Live Script, create a matrix A by starting with eye(5) and
Already have part 1 completed. I don't understand part 2.
Part 2 **Within your Live Script, create a matrix A by starting with eye(5) and performing the following sequence of elementary row-operations: first, replace (row4) with [(row4) + (row2) 3], then, interchange rows 1 and 3 of the obtained matrix, and, finally, scale row5 of the matrix from the previous step by 6 to get the output matrix A. Display A. Note: To complete this part, you, should, first, create and output) the required elementary matrices for the corresponding sets of variables (the variables are specific for each function!) and use consecutive three step left-multiplication to get the matrix A. % Explain in your Live Script a reason why the obtained matrix A is invertible. **Calculate (and output) the inverse of A, by using the MATLAB command invl=iny (A) **Then, calculate and output the matrix inv2 which is the inverse of A obtained by multiplying (in the reverse order!) the inverses of the elementary matrices whose product is A. (You can apply a MATLAB command inv () to the matrices E1, E2, E3.) **Run a conditional statement in the Live Scrip that would check if the matrices invl and inv2 match. If yes, output a message that the inverses match; otherwise, output the message: Check the coding! (This message, if received, should prompt you to make corrections and re-run the Section.)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