How to find the permutation matrix for the qr decomposition?
이전 댓글 표시
How to find the permutation matrix for the qr decomposition without using the function "[q,r,e]=qr(A)"?
채택된 답변
추가 답변 (1개)
Christine Tobler
2018년 3월 30일
I'm afraid using the three-output syntax is the only way. You can use
[~, ~, p] = qr(A);
but Q and R are still computed, just not returned. Could you tell us some more about why you need the permutation matrix only?
댓글 수: 3
Sergey Solovev
2018년 3월 30일
John D'Errico
2018년 3월 30일
So you know how to compute a basic QR, but are not sure how the pivoting was done inside QR?
Sergey Solovev
2018년 3월 30일
카테고리
도움말 센터 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!