QR with columns pivoting
이전 댓글 표시
Is there any sample matlab code computing QR decomposition with columns pivoting for a matrix?
I do not need an internal function, I would like to know the method...
Thanks for your help...
댓글 수: 2
Newlearner
2026년 2월 28일
Hello, I am trying to find a set of indices J, containing the r column pivots of a matrix using CPQR, how can I do that? Thanks
Christine Tobler
2026년 3월 1일
In practice, call
[~, ~, J] = qr(A, 'econ', 'vector')
To find the underlying algorithm as was the original question, see the reference LAPACK implemementation (Fortran code) for dlaqp2 (this doesn't have some of the optimizations in dlaqp3, but is easier to read).
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Linear Algebra에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!