Forward elimination, MATLAB in Engineering

Forward elimination:

In forward elimination, we want to obtain a 0 in the a21 position. To accomplish this, we can alter the second line in the matrix by subtracting from it 2 * the first row.

In this way we would write this ERO as:

643_Forward elimination.png

Now, placing it back in the matrix equation form:

1185_Forward elimination1.png

It says that the second equation is now -2x2 = 2 therefore x2 = -1. Now put it into the first equation:

x1 +  2(-1) = 2, and hence  x1 = 4.

This is known as the back-substitution.

Posted Date: 10/22/2012 4:27:33 AM | Location : United States







Related Discussions:- Forward elimination, Assignment Help, Ask Question on Forward elimination, Get Answer, Expert's Help, Forward elimination Discussions

Write discussion on Forward elimination
Your posts are moderated
Related Questions
Defined a variable in work space: The variables defined in the script will become a part of the workspace: >> clear >> who >> mysummfile    15 >> who

Expanding a function: The expand function will multiply out terms, and factor will do the opposite: >> expand((x+2)*(x-1)) ans = x^2 x-2 >> factor(ans)

Write a program to examine exponential function: We will write a program to examine the value of e and the exponential function. It will be a menu-driven. The menu options wil

Solving 2 × 2 systems of equations: However this may be easy in a MATLAB, in normal finding solutions to the systems of equations is not. The systems which are 2 × 2 are, thou

Displaying the cell arrays: There are several techniques of displaying the cell arrays. The celldisp function shows all elements of the cell array:   >> celldisp(cellro

Illustration of Gauss elimination: For illustration, for a 2 × 2 system, an augmented matrix be: Then, the EROs is applied to obtain the augmented matrix into an upper

Structures: The Structures are data structures which group together values which are logically related in what are known as the fields of structure. The benefit of structures

Example of Gauss-jordan: For a 2×2 system, this would results and for a 3 × 3 system, Note that the resulting diagonal form does not involve the right-most col

Algorithm for subfunction: The algorithm for subfunction askforn is as shown:  Prompt the user for the positive integer n.  Loop to print an error message and reprom

Variable Scope: The scope of any of variable is the workspace in which it is valid. The workspace generated in the Command Window is known as the base workspace. As we know