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

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

Indexing into vectors of structures, Indexing into Vectors of structures: ...

Indexing into Vectors of structures: Frequently, when the data structure is a vector of structures, it is essential to iterate through the vector in order by various fields. F

Cross product of matrix, Cross Product: The cross or outer product a ×...

Cross Product: The cross or outer product a × b of two vectors a and b is defined only whenever both a and b are the vectors in three-dimensional space, that means that they b

Individual structure variable, Individual structure variable: The indi...

Individual structure variable: The individual structure variable for one software package may look like this: The name of the structure variable is a package; it has f

Algorithm for the function explaine, Algorithm for the function explaine: ...

Algorithm for the function explaine: The algorithm for the function explaine is as shown:  Print a description of e, the exp function, and how to find the approximate va

Executing a program - modular program, Executing a program: Running th...

Executing a program: Running the program would be completed by typing the name of the script; this would call the other functions: >> calcandprintarea Whenever prompt

Program of passing arguments to functions, Program of passing arguments to ...

Program of passing arguments to functions: This was an illustration of a function which did not receive any input arguments nor did it return any output arguments; it easily a

Subfunctions, Subfunctions: Though, it is possible to have more than o...

Subfunctions: Though, it is possible to have more than one function in a given M-file. For illustration, if one function calls the other, the first function would be the prima

Set operations, Set Operations: The MATLAB has numerous built-in funct...

Set Operations: The MATLAB has numerous built-in functions which perform set operations on vectors. These involve intersect, union, setdiff, unique, and setxor. All these func

Readlenwid function - subfunctions, readlenwid function: function cal...

readlenwid function: function call: [length, width] = readlenwid; function header: function [l,w] = readlenwid In the function call, not any argument is passed; henc

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