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
Initializing the data structure - Function: Function is shown as:   >> printcylvols(cyls) Cylinder x has a volume of 169.6 Cylinder a has a volume of 100.5

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

I have a vector of X, one for Y , one for x-direction velocity U and one for y-direction velocity V. they are at same size. How can I plot streamline of that flow? I follow all exa

Image Processing: The Images are represented as grids, or matrices, of picture elements (known as pixels). In MATLAB an image usually is represented as a matrix in which each

num2str function: The num2str function, that converts real numbers, can be called in many ways. If only the real number is passed to the num2str function, it will generate a s

Storing Strings in Cell Arrays: The one good application of a cell array is to store strings of various lengths. As cell arrays can store various types of values in the elemen

Logical scalar values: The MATLAB also has or and and operators which work element wise for the matrices: These operators will compare any of the two vectors or matric

Example of Interpolation and extrapolation: The MATLAB has a function to do this, known as polyfit. The function polyfit finds the coefficients of the polynomial of the partic

Use polyval to evaluate the derivative at xder. This will be the % slope of the tangent line, "a" (general form of a line: y = ax + b). % 4. Calculate the intercept, b, of t

Symbolic Variables and expressions: The MATLAB has a type known as sym for the symbolic variables and expressions; these work with strings. The illustration, to generate a sym