function B=Rmirror(A)

% For a matrix A, this function produces a matrix B of the same dimension
% with the same rows as A but in reverse order.

% MR 010114

[nrow,ncol]=size(A);
B=A(1,:);
for i=2:nrow
  B=[A(i,:); B];
end
