Posts Tagged ‘rq’

March 23, 2012 0

RQ decomposition in matlab

By in matlab

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: