Example of gauss-jordan, MATLAB in Engineering

Assignment Help:

Example of Gauss-jordan:

For a 2×2 system, this would results

2314_Example of Gauss-jordan.png

and for a 3 × 3 system,

1623_Example of Gauss-jordan1.png

Note that the resulting diagonal form does not involve the right-most column.

For illustration, the 2 × 2 system, forward elimination results the matrix:

1637_Example of Gauss-jordan2.png

Now, to carry on with back elimination, we require a 0 in the a12 position.

 

Therefore, the solution is x1 = 4; -2x2 = 2 or x2 = -1.

1945_Example of Gauss-jordan3.png

 

Here is an illustration of a 3× 3 system:

1374_Example of Gauss-jordan4.png

In a matrix form, the augmented matrix [A|b] is as shown below:

2438_Example of Gauss-jordan5.png


Related Discussions:- Example of gauss-jordan

Algorithm for the function e, Algorithm for the function e: The algori...

Algorithm for the function e: The algorithm for the function eoption is as shown: Use the menu function to show the 4 choices. Error-check (an error would take place

Deblank function, deblank function: The deblank function eliminates on...

deblank function: The deblank function eliminates only trailing blanks from the string, not leading the blanks. The strtrim function will eliminate both the leading and traili

Matrix multiplication, Matrix Multiplication: The Matrix multiplicatio...

Matrix Multiplication: The Matrix multiplication does not mean multiplying term by term; and it is not an array operation. The Matrix multiplication has a very particular mean

Reading from a mat-file, Reading from a Mat-File: The load function is...

Reading from a Mat-File: The load function is used to read from various types of files. As with save function, by default the file will be supposed to be a MAT-file, and load

Passing arguments to functions, Passing arguments to functions: In all...

Passing arguments to functions: In all these functions examples faraway, at least one of the arguments was passed in the function call to be the value(s) of the equivalent inp

Dot product of matrix, Dot Product: The dot or inner product of two ve...

Dot Product: The dot or inner product of two vectors a and b is written as a • b and is defined as  In another words, this is like matrix multiplication when multiplyi

Passing structures to functions, Passing Structures to Functions: The ...

Passing Structures to Functions: The whole structure can be passed to a function, or separate fields can be passed. For illustration, here are the two distinct versions of a f

Algorithm for appex subfunction, Algorithm for appex subfunction: The ...

Algorithm for appex subfunction: The algorithm for appex subfunction is as shown:  Receives x & n as the input arguments.  Initializes a variable for running sum of t

Appending variables to the mat-file, Appending variables to the Mat-File: ...

Appending variables to the Mat-File: Appending to the file adds to what has been saved in a file, and is accomplished by using the -append option. For illustration, supposing

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd