How to make R close to the identity
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone..
Is there any idea how I can make the matrix R in qr factorisation close to the identity?
Here is my attempt for a random matrix, the norm I got is somthing close to 1:(
A = complex(rand(3,3),rand(3,3))
[q,r]=qr(A)
dr = diag(sign(diag(r)))
qu = q*dr
ru = dr'*r
normru=norm(ru-eye(3,3))
0 Kommentare
Antworten (0)
Siehe auch
Kategorien
Mehr zu Linear Algebra finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!