Question: This is MATLAB exercise and it should be solved by using matlab. Need the code of the two question. Matlab Exercises Create a script for

 This is MATLAB exercise and it should be solved by using

This is MATLAB exercise and it should be solved by using matlab. Need the code of the two question.

Matlab Exercises Create a script for the following exercises: I. Let A and B be two 5 5 matrices with random entries between 0 and 1. Test whether (A +Is)(A Is)A2 - Is, where Is diag(1,1,1,1,1) E R55. The best way to do this is to compute (A +Is) (A -Is) (A2 - Is) and check if it is the zero matrix. Test whether (A B)(A-B A2-B2 2. In homework 2 you were asked to solve the system Ax = b with 31-8 11 11 -6 25 113 using the rref command and print on screen the error vector Ax - b, and compute its norm norm(A*x - b). Compare this error to the error you obtain when using the "backslash" operator to solve the system above

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!