Did you get convergence for the matrix in post #18?

]]>|

Error: The expression to the left of the equals sign is not a valid target for an

assignment.

But...anyway...I will let it like that...I have a last question..Could you tell me which is the iteration matrix ,for example of the hilbert matrix with a specific dimension,or for another matrix using the gauss-seidel method,and which it is using the jacobi method ,so I can check if my result is right???

]]>Why not? What are you entering for the matrix?

I wrote this:DIGITS:=hilb(15) and I get Error: The expression to the left of the equals sign is not a valid target for an

assignment.

http://www.mathworks.com/help/symbolic/ igits.html

The examples on that page do not work?

They work...But I can't apply them at a matrix

]]>The examples on that page do not work?

]]>assignment.

I would like to ask you also something else..Is this right that the spectral radius of the iteration matrix of the 250x250 Hilbert Matrix,when we apply the Gauss-Seidel method is 1,and when we apply the Jacobi method 217.3320?

]]>Something is wrong with your program. That converges for me. Are you setting initial conditions to [0,0,0,0]?

Check this page to see how to increase Matlabs precision:

http://www.mathworks.com/help/symbolic/ … igits.html

See you a bit later, I need some rest.

I used the command digits bit I didn't get any result!!! why??

]]>Check this page to see how to increase Matlabs precision:

http://www.mathworks.com/help/symbolic/ … igits.html

See you a bit later, I need some rest.

]]>You have a 4 on the diagonal and 1 on the other 2 diagonals? That matrix according to some books is diagonally dominant. This makes convergence easy in the Gauss Seidel method.

I understand...

But we are straying from the point of this thread. Did you try post #18's matrices? Did they converge for you? What did you notice about the new A?

No,the matrix of post #18 does not converge,neither using the jacobi,nor the gauss-seidel method..

]]>But we are straying from the point of this thread. Did you try post #18's matrices? Did they converge for you? What did you notice about the new A?

]]>I believe that there is a simple answer to that.

Could you tell me,which it is??:

]]>