Gauss
Gauss
%A - Coefficient matrix
A = [3 -0.1 -0.2;
0.1 7 -0.3;
x0 = [0; 0; 0];
tol = 1e-6;
max_iter = 10;
if n ~= m
end
x = x0;
x_old = x;
for i = 1:n
end
% Display current solution
fprintf('%d\t', iter);
fprintf('\n');
return;
end
end
end