Write a matlab code to solve the system axb by using 1


Write a MATLAB code to solve the system Ax=b, by using:

1. classical jacobi 2. Gauss Seidal 3. Successive over relaxation Plot number of iterations vs. residual and number of iterations vs. error

A = [ 5 -2 -0.5 -1.5; -2 5 1.5 -0.5; -0.5 1.5 5 -2; 1.5 -0.5 -2 5]

b = [1;2;3;4]

x=???

 

 

Request for Solution File

Ask an Expert for Answer!!
Algebra: Write a matlab code to solve the system axb by using 1
Reference No:- TGS01208811

Expected delivery within 24 Hours