Question: I am using matlab to solve jacobi iteration. I think there is something wrong with my jacobi equation but I don't know what it is.

 I am using matlab to solve jacobi iteration. I think there

I am using matlab to solve jacobi iteration. I think there is something wrong with my jacobi equation but I don't know what it is. Please figure it out for me.

end oproblem 3 to solve the 1linear equation by using jacobi method function(x] = Jacob sol (A, b, tol, kmax) format shortg n = size (A, 1) ; x = zeros (n, 1) ; for k = 1: kmax for j = 1:n end err= (norn ( ( (x ( : , k+1 )-x (: , k) ) . /x (: , k) ) ) ) ^2; fprintf(, at %1 1terat ion, the error is %12.10f ', k, err) if err

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!