Community Profile

photo

Abid Shahriar


Last seen: 5 months ago Active since 2021

Statistics

Content Feed

View by

Question


Given a linear system i want to do Gauss-Seidel iteration.But getting error.Would appreciate if anyone fix me the code. Thanks.
>> x(1)=1.5; >> y(1)=-1; >> z(1)=1; >> iter(1)=0; >> for n=1:4 iter(n+1)=n; x(n+1)=(1...

5 months ago | 1 answer | 0

1

answer