Source: http://www.mathworks.com/matlabcentral/newsreader/view_thread/237007 function [R Q]=rq(A) % function [R Q]=rq(A) % A [m x n] with m R=flipud(R.’); R(:,1:m)=R(:,m:-1:1); Q=Q.’; Q(1:m,:)=Q(m:-1:1,:); end % Bruno
Tags: rq
Source: http://www.mathworks.com/matlabcentral/newsreader/view_thread/237007 function [R Q]=rq(A) % function [R Q]=rq(A) % A [m x n] with m R=flipud(R.’); R(:,1:m)=R(:,m:-1:1); Q=Q.’; Q(1:m,:)=Q(m:-1:1,:); end % Bruno
Tags: rq