RQ decomposition from QR decomposition

  • Context: Graduate 
  • Thread starter Thread starter daviddoria
  • Start date Start date
  • Tags Tags
    Decomposition
Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 14K views
daviddoria
Messages
96
Reaction score
0
What I'm wondering is:

Q and R in the QR decomposition of A are the same Q and R in the RQ decomposition of which matrix?

I found some MATLAB code which will get RQ from QR, but I don't understand how you would do those operations FIRST, then find the QR decomposition.

Code:
ReverseRows = [0 0 1; 0 1 0 ; 1 0 0];
[Q R] = qr((ReverseRows * A)');
R = ReverseRows * R' * ReverseRows;
Q = ReverseRows * Q';

Any tips about the intuition of the relations of these factorizations?

Thanks,
Dave
 
Physics news on Phys.org
I guess what I was looking for is that QR is Gram-Schmidt applied to the column of A, where RQ is Gram-Schmidt applied to the rows of A.

Dave