Question: A,B,C please. Will upvote. For n=100, solve this tridiagonal system of equations three different ways: 2x1x2xj1+2xjxj+1xn1+2xn=1,=j,j=2,,n1,=n. (a) Use diag three times to form the coefficient

A,B,C please. Will upvote.
For n=100, solve this tridiagonal system of equations three different ways: 2x1x2xj1+2xjxj+1xn1+2xn=1,=j,j=2,,n1,=n. (a) Use diag three times to form the coefficient matrix and then use lutx and bslashtx to solve the system. (b) Use spdiags once to form a sparse representation of the coefficient matrix and then use the backslash operator to solve the system. (c) Use tridisolve to solve the system. (d) Use condest to estimate the condition of the coefficient matrix
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
