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
Illustration of Graphics properties: A particular property can also be exhibited, for illustration, to view the line width:     >> get(hl,'LineWidth')     ans =

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

Illustration of Variable scope: Running this function does not add any of variables to the workspace, as elaborated: >> clear >> who >> disp(mysum([5 9 1]))

Example Exit modular program: In the illustration below, the user  Chose the Limit; -   Whenever prompted for n, entered the two invalid values before finally ente


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

Example of Plotting from a Function: For illustration, the function can be called as shown below:      >> y = [1:2:9].^3      y =     1  27  125  343  729

Simplification Functions: There are numerous functions which work with expressions, and simplify the terms. Not all the expressions can be simplified, but the simplify functio

Evaluating a string: The function eval is used to compute a string as a function. For illustration, below is the string 'plot(x)'is interpreted to be a call to plot the functi

Patch function - graphics objects: The patch function is used to generate a patch graphics object, which is made from 2-dimensional polygons. The patch is defined by its verti