In both cases, x is the final solution vector and i returns the number of iterations. Written in matrix form, a system of linear equations is expressed as Axb. I have created the below code for each of them, however my final solution vector does not return the correct answers and i'm really struggling to figure out why. (Jacobi and Gauss-Seidel methods) Write a python code for solving a system of linear equations by Jacobi method and Gauss-Seidel method. I need to code the Gauss Seidel and Successive over relaxation iterative methods in Matlab.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |