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

I dont know how to input different videos on matlab program


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

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

Q.1: Consider the transmission of a sinusoid x(t) = cos(2f0t) through a channel a ected by multipath and Doppler. Let there be two paths, and assume the sinusoid is being sent fro

Function used in binary search: The function below implements this binary search algorithm. It receives two arguments: the sorted vector and a key (on the other hand, the func

1. Write a MATLAB function (upperTriangle) using the functions you previously created to convert a matrix to upper triangular form. Start with row 1, column1. Find the row that has

Function fieldnames - structure functions: The function fieldnames will return the names of the fields which are contained in the structure variable. >> pack_fields = fiel

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