Question: NEED HELP ON THThe three elementary row operations can be performed in MATLAB using the following commands Type I: A ( [ i , j

NEED HELP ON THThe three elementary row operations can be performed in MATLAB using the following commands
Type I: A([i,j],:)=A([j,i],:) interchanges row i and row j
Type II: A(i,:)=**A(i,:) multiplies row i by a
Type III: A(i,:)=A(i,:)+**A(j,:) multiplies row j by and adds it to row i
The matrix A below has been created for you.
A=[53-9-10-7015814]
Perform row operations in MATLAB that reduce the matrix A to Row Echelon Form.
The row operations are indicated for you in the learner template. Make sure you follow the instructions and perform
only the row operation indicated in the comments. After each row operation, the result is stored in a new matrix in
order for MATLAB to verify the accuracy of the intermediate steps.
You might want to click on "Run Script" at each row operations to check that your steps are correct and to determine
the next step in the row reduction.
NOTE: in format rat, a number very close to zero, but not exactly zero due to round off error is denoted by *. If you
see * in the output of your calculations, you should treat it as zero.
Don't forget to include your name as a comment in your scrip
Resets the solution code to the
starter code provided by the
instructor. Changes you have
made are discarded.
Script 2
format rat
A=[5,3,-9;-10,-7,0;15,8,14]
% YOUR NAME
% divide the first row by the appropriate scalar so that the pivot is a one
A_new1= A;
% zero out the entry in position (2,1) by performing a single row operation
A_new 2=A;
% zero out the entry in position (3,1) by performing a single row operation
A_new 3=A;
% zero out the entry in position (3,2) by performing a single row operation
A_new4=A;
% make the pivot in row 2 a one by performing a single row operation
A_new5=A;
% make the pivot in row 3 a one by performing a single row operation
R=A%the final result is stored in the matrix RIS TO WRITE COMPLETE AND CORRECT CODE
 NEED HELP ON THThe three elementary row operations can be performed

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!