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:


Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/mgis.dk/about/wp-includes/class-wp-comment-query.php on line 399

Leave a Reply