how to solve with gaussian seidel method

1 view (last 30 days)
A=[-4,1,0,1,0,0,0,0,0;1,-4,1,0,1,0,0,0,0;0,1,-4,1,0,1,0,0,0;1,0,0,-4,1,0,1,0,0;0,1,0,1,-4,1,0,1,0;0,0,1,0,1,-4,1,0,1;0,0,0,1,0,1,-4,1,0;0,0,0,0,1,0,-4,1;0,0,0,0,0,1,0,-4]; b=[0;0;-100;0;0;-100;0;0;-100]; xx=[-100:10;-100:10;-100:10;-100:10;-100:10;-100:10;-100:10;-100:10;-100:10];
NumIters=10;
[xx]=gauss_seidel(A,b,tol,xx)

Answers (0)

Categories

Find more on Time Series in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!