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
Illustration of Matrix solutions: For illustration, consider the three equations below with 3unknowns x 1 ,x 2 , and x 3 : We can write this in the form Ax = b here A

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

Program of passing arguments to functions: This was an illustration of a function which did not receive any input arguments nor did it return any output arguments; it easily a

Use of While loop: Here is an illustration of calling the function, passing 5000 for the value of the input argument high. >> factgthigh(5000) ans = 5040 The itera

Execution steps: Whenever the program is executed, the steps below will take place: The script calcandprintarea starts executing. The calcandprintarea calls the readr

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

Example to change the line width from the default: For illustration, to change the line width from the default of 0.5 to 1.5: >> set(hl,'LineWidth',1.5) As long as the


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?

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]))