Register to reply 
GaussSeidel Method (Matlab) 
Share this thread: 
#1
Mar1512, 05:55 PM

P: 916

I need to solve the following problem using Matlab
This is my code so far:
And my inputs would be:
Any help with the code is greatly appreciated. 


#2
Mar1512, 07:53 PM

PF Gold
P: 1,160

You're defining a function in a script file. In MATLAB, functions are defined in a separate file with the same name as the function.
Create a file GaussSeidel.m with the following:



#3
Nov1312, 03:53 PM

P: 5

I'm not familiar with matlab, but I believe this is an incorrect implementation of the GaussSeidel method. This looks like the Jacobi method to me.
I'm going to fool around with this and get back. 


Register to reply 
Related Discussions  
Solving a linear system with GaussSeidel's method  Programming & Computer Science  0  
Gauss seidel method of convergence  General Math  2  
GaussSeidel Method  General Math  0  
SOlving power flow using gauss seidel and matlab, HELP  Engineering, Comp Sci, & Technology Homework  1  
Simple intuitive/graphical interpretation of the GaussSeidel method  Linear & Abstract Algebra  8 