MATLAB Struggling with Matlab Functions for Linear Equations?

  • Thread starter Thread starter mgb1974
  • Start date Start date
  • Tags Tags
    Matlab
Click For Summary
The discussion revolves around a request for assistance in creating MATLAB functions to solve systems of linear algebraic equations using the Gauss-Elimination and Gauss-Jordan methods. The user expresses frustration with programming and a lack of support from their instructor. The task requires writing MATLAB m-files that implement the algorithms and a simple script to utilize these functions based on user input. Additional resources, including a MATLAB primer, are suggested to help the user get started with the programming requirements.
mgb1974
Messages
1
Reaction score
0
Anybody know Matlab, Need HELP!

Ok i am taking this class and we have to write programs. The teacher is not much help at all. I need to write this program. I hate this programing stuff.

"Create Matlab functions that solve systems of linear algebraic equations using Gauss-Elimination and Gauss-Jordan methods by obtaining the co-efficient matrix, [A], and the RHS values, {b}, as input and output the matrix of unknown values. Then, use these functions in a simple Matlab code to solve a system of linear algebraic equations based on a user's choice."

Can anybody help me out?? I will make it worth your time!
 
Last edited:
Physics news on Phys.org
mgb1974 said:
Ok i am taking this class and we have to write programs. The teacher is not much help at all. I need to write this program. I hate this programing stuff.

"Create Matlab functions that solve systems of linear algebraic equations using Gauss-Elimination and Gauss-Jordan methods by obtaining the co-efficient matrix, [A], and the RHS values, {b}, as input and output the matrix of unknown values. Then, use these functions in a simple Matlab code to solve a system of linear algebraic equations based on a user's choice."

Can anybody help me out?? I will make it worth your time!

You need to write m - file(s) containing the respective algorithms & simple script. The MATLAB primer for one gives some good basic guidance how to get started :

http://math.ucsd.edu/~driver/21d-s99/matlab-primer.html
http://www.egr.msu.edu/decs/facilities/software/matlab/matlabses1.pdf
 
Last edited by a moderator:

Similar threads

  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 14 ·
Replies
14
Views
3K
  • · Replies 6 ·
Replies
6
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
4K
Replies
1
Views
7K