Question: Use MATLAB to solve this, thank you undefined 3. Write a script that: a. Creates a matrix A of size 20 x 20 according to
Use MATLAB to solve this, thank you
undefined
3. Write a script that: a. Creates a matrix A of size 20 x 20 according to the formula Aij = 1/(i+j 1). (This will require a double loop) b. Creates a column vector b with 20 elements which alternate like (c, 0, c, 0,c, 0,...). Here c is the first digit of your SUID. C. Computes the solution of Ax = b and displays the norm of the difference between Ax and b. Remark. The matrix A is invertible, is not very large, and does not have any extremely large or extremely small entries: they are all between 0.025 and 1. Yet, it is so close to being singular that the solution of this linear system is likely to be pure noise due to round-off errors
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
