Reduced row echelon form, MATLAB in Engineering

Reduced Row Echelon Form:

The Gauss Jordan technique results in a diagonal form; for illustration, for a 3 × 3 system:

1255_Reduced Row Echelon Form.png

The Reduced Row Echelon Forms take this one step further to answer in all 1's instead of a', therefore the column of b's is the solution:

1925_Reduced Row Echelon Form1.png

The MATLAB has a built-in function to do this, known rref. For illustration, for the preceding illustration:

>> a = [1 3 0; 2 1 3; 4 2 3];

>> b = [1 6 3]';

>> ab = [a b];

>> rref(ab)

ans =

1 0 0 -2

0 1 0  1

0 0 1  3

 

The answer is found from the last column, therefore x1 = -2, x2 = 1, and x3 = 3. To obtain this in a column vector in a MATLAB:

>> x = ans(:,end)

x =

       -2

        1

        3

Posted Date: 10/22/2012 4:30:01 AM | Location : United States







Related Discussions:- Reduced row echelon form, Assignment Help, Ask Question on Reduced row echelon form, Get Answer, Expert's Help, Reduced row echelon form Discussions

Write discussion on Reduced row echelon form
Your posts are moderated
Related Questions
Reduced Row Echelon Form: The Gauss Jordan technique results in a diagonal form; for illustration, for a 3 × 3 system: The Reduced Row Echelon Forms take this one step

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

Plotting from a Function: The following function creates a Figure Window as shown in figure, which shows various types of plots for similar y vector. The vector is passed as a

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

I have a frequency response data. How do I convert that to state space? I am given a 6 row and 3 column data (steady state). How do i convert that to state space model?

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

Interchange rows : for illustration interchanging rows ri and rj is written as

Illustration of symbolic variable: When, on the other hand, z is a symbolic variable to start with, quotes are not required around the expression, and the words are automatica

Matrix operations: There are some common operations on matrices. The operators which are applied term by term, implying that the matrices should be of similar size, sometimes

Converting between the String and Number types: The MATLAB has many functions which convert numbers to strings in which each character element is a separate digit, and vice ve