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=???