Question: Im writing a code for a Gauss-Seidel algorithm and this is my error at the FoundSolution=1. Im not too sure why this is not correct.
Im writing a code for a Gauss-Seidel algorithm and this is my error at the FoundSolution=1. Im not too sure why this is not correct. If you need the rest of my code feel free to ask.

A-fliplr (vander (1:1:5)): b= [1,2,3,4,5]; n=length (b) ; x= zeros (n, 1) ; xo1d=zeros(n, 1) ; for k-1:1000 i=1 : n x(1)=0 .0 for end j=1:n if for ji x(1)=x ( 1) + (A ( 1 , j ) *xold ( j ) ) end end if max (abs (A*x-b) )
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
