function [mat] = getmatrix(u)
% GETMATRIX - Returns the matrix representation in LGSO_PQ.
% function [mat] = getmatrix(u)

% WRITTEN BY       : Kenth Engų, 1999 Apr.
% LAST MODIFIED BY : None

if isempty(u.data),
  mat = [];
  return;
end;
mat = u.data;
return;
