| Products & Services | Solutions | Academia | Support | User Community | Company |
| Download Product Updates | | | Get Pricing | | | Trial Software |
| Documentation → Symbolic Math Toolbox |
| Contents | Index |
| Learn more about Symbolic Math Toolbox |
rref(A)
rref(A) computes the reduced row echelon form of the symbolic matrix A. If the elements of a matrix contain free symbolic variables, rref regards the matrix as nonzero.
Compute the reduced row echelon form of the magic square matrix:
rref(sym(magic(4)))
The result is:
ans = [ 1, 0, 0, 1] [ 0, 1, 0, 3] [ 0, 0, 1, -3] [ 0, 0, 0, 0]
Compute the reduced row echelon form of the following symbolic matrix:
syms a b c; A = [a b c; b c a; a + b, b + c, c + a]; rref(A)
The result is:
ans = [ 1, 0, -(a*b - c^2)/(a*c - b^2)] [ 0, 1, -(b*c - a^2)/(a*c - b^2)] [ 0, 0, 0]
![]() | round (sym) | rsums (sym) | ![]() |

Includes the most popular MATLAB recorded presentations with Q&A sessions led by MATLAB experts.
| © 1984-2009- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |