Question: Please help with these two Matlab problems. Please explain the code so I can understand why it is done in that way. Problem 3.1 The

Please help with these two Matlab problems. Please explain the code so I can understand why it is done in that way.

Please help with these two Matlab problems. Please explain the code so

Problem 3.1 The time needed to solve a system the system Ax-b increases substantially as we increase the size of the problem. In order for you to get a sense of this, do the following: Generate matrix A(nxn) and b(nx1) as follows: i,j 8 + 0.2i,i-j biin For n-100.. 5000 by increments of 100 solve the systems of linear equations and plot the time require as a function of n, using the Matlab function linsolve. Use the Publish command to generate a report, save it as a pdf file and submit the pdf file Problem 3.2 When formulating a problem, it is important to establish that it is formulated properly and the we avoid "singularities". In matrix algebra, issues arise if the matrix becomes singular, or else its determinant approaches zero. You can study this behavior by considering the following problem. You are given the matrix A- 3 1 2 6 3 3X2[10]. You can easily see that the determinant of the system when e 0 is O. Vary the values of such that 10-15 10-1 and solve the linear system. Then plot x3vs Use the Publish command to generate a report, save it as a pdf file and submit the pdf file

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!