Description
This MATLAB function receives a matrix A, a vector b, an initial starting vector x0, a real value ω, and a tolerance ε, and returns an approximate solution of the system Ax = b within the given tolerance together with the number of iterations.
x =
[[-1.00000000e+00]
[-1.94732314e-10]
[ 1.00000000e+00]]
Iterations = 16
x =
[[-2.]
[ 1.]
[-1.]]
Iterations = 32
Reviews
There are no reviews yet.