% viewcolumn(columnvector);
%
% VIEWCOLUMN Displays a 60 x 60 grayscale image stored in a column vector.
%
% Tim Marks 2002

function  h = viewcolumn(columnvector);

height = 60; 
width = 60;

colormap(gray(256));
img = reshape(columnvector,height,width);
hh = imagesc(img);
axis image;

if nargout > 0
    h = hh;
end

