gusucode.com > 《精通matlab 7》包括配套光盘 > 配套光盘里的程序附件/Ex-14/Ex1409.m
%例14-9 QR分解 A=rand(3) [Q,R]=qr(A) Q'*Q Q*R B=rand(2,4) [QQ,RR]=qr(B) QQ*QQ' QQ*RR