Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

MATRIX ALGEBRA (15pts). Using the most appropriate method for a large, sparse matrix, solve A x = b for given Am and bv, in under

image text in transcribed

MATRIX ALGEBRA (15pts). Using the most appropriate method for a large, sparse matrix, solve A x = b for given Am and bv, in under one minute of wall time. Using MATLAB built-in matrix multiplication techniques is highly recommended. Warning: this A matrix is HUGE (60k x 60k)! If you just look at A without bounds, it will scroll for a long time so I wouldn't do it if I were you. A(1:5, 1:5) is shown below; you may assume that it only has values on the diagonal, exactly as you see here, off into the distance. [ 4 -1 0 0 0 ... -14 -1 0 0 ... 10 -14 -1 0 ... AFO 0 -1 4 -1 ... | 0 0 0 -1 4 ... A= If needed for your method, you must use the norm(x1-x0)orm(x1) (i.e. relative) error criterion for your technique and converge to an accuracy of 5e-3. Plot and submit the resulting answer (x) using the following two lines of code: S = reshape (x, Nx, Ny) ; figure; surf (s); MATRIX ALGEBRA (15pts). Using the most appropriate method for a large, sparse matrix, solve A x = b for given Am and bv, in under one minute of wall time. Using MATLAB built-in matrix multiplication techniques is highly recommended. Warning: this A matrix is HUGE (60k x 60k)! If you just look at A without bounds, it will scroll for a long time so I wouldn't do it if I were you. A(1:5, 1:5) is shown below; you may assume that it only has values on the diagonal, exactly as you see here, off into the distance. [ 4 -1 0 0 0 ... -14 -1 0 0 ... 10 -14 -1 0 ... AFO 0 -1 4 -1 ... | 0 0 0 -1 4 ... A= If needed for your method, you must use the norm(x1-x0)orm(x1) (i.e. relative) error criterion for your technique and converge to an accuracy of 5e-3. Plot and submit the resulting answer (x) using the following two lines of code: S = reshape (x, Nx, Ny) ; figure; surf (s)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Advances In Databases And Information Systems Uropean Conference Adbis 2020 Lyon France August 25 27 2020 Proceedings Lncs 12245

Authors: Jerome Darmont ,Boris Novikov ,Robert Wrembel

1st Edition

3030548317, 978-3030548315

More Books

Students also viewed these Databases questions