How to solve the pivoting matrix for row reduction?
Show older comments
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
on 26 Jan 2022
0 votes
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.
Categories
Find more on Numerical Integration and Differential Equations 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!