function A = utReshape(this,A,GridSize)
% Reshapes array to specified grid size

%   Copyright 1986-2003 The MathWorks, Inc.
%   $Revision: 1.1.6.1 $  $Date: 2004/12/26 21:32:24 $
if ~isempty(A)
   if this.GridFirst
      A = hdsReshapeArray(A,[GridSize this.SampleSize]);
   else
      A = hdsReshapeArray(A,[this.SampleSize GridSize]);
   end
end