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

. Generate the following signal, x(n)=1+cos((25*pi*n)/100),0 Compute the DTFT of x[n] for w=0:0.01:2*pi Plot the Real part, imaginary part, the amplitude and phas

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

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

Modular programs: In a modular program, the answer is broken down into modules, and each is executed as a function. The script is usually known as the main program. In orde

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

Technique is to create one element - vector: Technique is to create one element with the values from one structure, and use repmat to replicate it to the preferred size. Then,

Implementation of binary search: The binary search can be implemented as a recursive function. The recursive function below also implements this binary search algorithm. It re

Uses of Function handles: The Function handles can also be generated for functions other than anonymous functions, both built-in & user-defined functions. For illustration, th

Function cirarea - Anonymous functions: The function handle name is cirarea. The one argument is passed to the input argument radius. The body of the function is an expression