How to solve the pivoting matrix for row reduction?

3 views (last 30 days)
Suppose A is singular and B is the row echelon form for A, we have a pivoting matrix M such that M*A=B, is there an easy command to find M? Thanks!

Answers (1)

Prasanna Konyala
Prasanna Konyala on 26 Jan 2022
Given a singular matrix (A) and its row echelon form (B), pivoting matrix (M) can be computed by right matrix division,
ie, M = A/B.
If the echelon matrix is not given, you can use "rref" function to compute the reduced echelon form of the matrix.Since reduced echelon form is also an echelon form it can be used to compute the pivoting matrix.
Refer this document to know more about "rref" function.

Categories

Find more on Linear Algebra in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!